view ci/setup-xvfb.sh @ 26559:177872ca0db9

Added tag v8.2.3808 for changeset ad00a5cb005d023d1cea67071d38887fbcf488b4
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Dec 2021 15:30:04 +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