view ci/setup-xvfb.sh @ 25975:11cfbeb809d3

Added tag v8.2.3520 for changeset 416237f1de227ec65204258ac7ff263da924f5bd
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 Oct 2021 16:45: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