view ci/setup-xvfb.sh @ 28527:1386340aaedc

Added tag v8.2.4787 for changeset 171f9def0398d89748e883a28b7451348454f298
author Bram Moolenaar <Bram@vim.org>
date Mon, 18 Apr 2022 23:00:04 +0200
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