view ci/setup-xvfb.sh @ 26261:4aee351f48a4

Added tag v8.2.3661 for changeset 164db42130ec4e6d86a5c9d1d0c870c7e679bea9
author Bram Moolenaar <Bram@vim.org>
date Wed, 24 Nov 2021 16:00:05 +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