view ci/setup-xvfb.sh @ 29276:3dccbb97c76e

Added tag v8.2.5155 for changeset 281509f1417ba92e233721f42f3396f897b3281f
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 Jun 2022 13:45:05 +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