view ci/setup-xvfb.sh @ 24308:7b87429e4b2a

Added tag v8.2.2694 for changeset 55f458d352926815a293dda8c953b17c945f719c
author Bram Moolenaar <Bram@vim.org>
date Fri, 02 Apr 2021 19:00:08 +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