view ci/setup-xvfb.sh @ 24719:4ae10e6c3a9c v8.2.2898

patch 8.2.2898: QuitPre and ExitPre not triggered when GUI window is closed Commit: https://github.com/vim/vim/commit/3552e742898cd57adaf9b8ce32a9056271eab8d2 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 29 12:21:58 2021 +0200 patch 8.2.2898: QuitPre and ExitPre not triggered when GUI window is closed Problem: QuitPre and ExitPre not triggered when GUI window is closed. Solution: Call before_quit_autocmds(). (closes https://github.com/vim/vim/issues/8242)
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 May 2021 12:30:04 +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