view ci/setup-xvfb.sh @ 24209:3422237ca50e

Added tag v8.2.2645 for changeset 7a21b2581dce98d4d848699697cfdcb26ff110f1
author Bram Moolenaar <Bram@vim.org>
date Mon, 22 Mar 2021 21:00: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