view ci/setup-xvfb.sh @ 34256:1ea7bd931de7

Added tag v9.1.0068 for changeset ccd1a35157ad77db79aa104103f5f9aa4bf8a3a2
author Christian Brabandt <cb@256bit.org>
date Thu, 01 Feb 2024 21:15:08 +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