view ci/setup-xvfb.sh @ 27496:cd5a89c0e571

Added tag v8.2.4275 for changeset b98c20b53a2d622a24d3a5168c3968e51ffab915
author Bram Moolenaar <Bram@vim.org>
date Mon, 31 Jan 2022 18:30:04 +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