view ci/setup-xvfb.sh @ 32413:edef053f7090 v9.0.1538

patch 9.0.1538: :wqall does not trigger ExitPre Commit: https://github.com/vim/vim/commit/411da64e77ef9d8edd1a5aa80fa5b9a4b159c93d Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 10 16:53:27 2023 +0100 patch 9.0.1538: :wqall does not trigger ExitPre Problem: :wqall does not trigger ExitPre. (Bart Libert) Solution: Move preparations for :qall to a common function. (closes https://github.com/vim/vim/issues/12374)
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 May 2023 18:00:06 +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