view ci/setup-xvfb.sh @ 33659:867fa40377c1

runtime(doc): clarify bracketed paste mode Commit: https://github.com/vim/vim/commit/5f5131d775bf9966976e39aa38b070036cbfe969 Author: Christian Brabandt <cb@256bit.org> Date: Wed Oct 25 21:44:26 2023 +0200 runtime(doc): clarify bracketed paste mode related: https://github.com/vim/vim/issues/13398 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 25 Oct 2023 22:00:03 +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