view ci/setup-xvfb.sh @ 29963:ee373646730e

Added tag v9.0.0319 for changeset 32e35a6d42926400c28c86e6f1bbab0f7e43b3b7
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 Aug 2022 16:30: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