view ci/setup-xvfb.sh @ 27566:9f46667ef05f

Added tag v8.2.4309 for changeset 0b12dd90a5d6016bb9b4f412279438bec2864547
author Bram Moolenaar <Bram@vim.org>
date Sun, 06 Feb 2022 15:00:03 +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