view ci/setup-xvfb.sh @ 33669:494e0d42d743

Added tag v9.0.2072 for changeset fcc8296f36eba3dd3520595767dc3c046ea1bfa6
author Christian Brabandt <cb@256bit.org>
date Thu, 26 Oct 2023 23:15:07 +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