view ci/setup-xvfb.sh @ 24419:05c9ccb777ec

Added tag v8.2.2749 for changeset baf4913fe21c3db6c629b3b48070a844b19809a0
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Apr 2021 21:00:05 +0200
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