view ci/setup-xvfb.sh @ 31959:2d1c9f3615db

Added tag v9.0.1311 for changeset b08c410578a550483da6e00a8f23eea6df6d612f
author Bram Moolenaar <Bram@vim.org>
date Wed, 15 Feb 2023 15:30:06 +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