view ci/setup-xvfb.sh @ 33378:dd9da4eb6780

Added tag v9.0.1947 for changeset e3613ffa370d79864fbf9e0fe7d7ea9a258e35c3
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Sep 2023 22:15:08 +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