view ci/setup-xvfb.sh @ 23595:d9942c46a490

Added tag v8.2.2339 for changeset d3e064f548908906741d78c0f550c9360a92ba80
author Bram Moolenaar <Bram@vim.org>
date Tue, 12 Jan 2021 22:00: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