view ci/setup-xvfb.sh @ 30808:384b77639588

Added tag v9.0.0738 for changeset 442a574ffae349bf14f24b5c2ff2dd57ef86f633
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Oct 2022 14:00: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