view ci/setup-xvfb.sh @ 31356:f39db32b3f7c

Added tag v9.0.1011 for changeset 45a03dd92f28426cfc28c5d55937b19ef03c01f4
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Dec 2022 17:30:07 +0100
parents 1984a3fcc953
children
line wrap: on
line source

#!/bin/bash
set -e

apt-get install -y xvfb

cat <<EOT >/etc/systemd/system/xvfb.service
[Unit]
Description=X Virtual Frame Buffer Service
After=network.target
[Service]
ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24
[Install]
WantedBy=multi-user.target
EOT

systemctl enable xvfb.service
systemctl start xvfb.service