view ci/setup-xvfb.sh @ 29187:87ad2de4fe41 v8.2.5113

patch 8.2.5113: timer becomes invalid after fork/exec, :gui gives errors Commit: https://github.com/vim/vim/commit/c72e31dfcc013ae840cd7f8899f2430b7f6812c9 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 16 18:47:20 2022 +0100 patch 8.2.5113: timer becomes invalid after fork/exec, :gui gives errors Problem: Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel Dupras) Solution: Delete the timer befor forking. (closes #10584)
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Jun 2022 20: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