view ci/setup-xvfb.sh @ 29198:2e6c9df8bea1 v8.2.5118

patch 8.2.5118: MS-Windows: sending a message to another Vim may hang Commit: https://github.com/vim/vim/commit/f9f2a330b961fe1623d428b61afdc52f0af0a666 Author: K.Takata <kentkt@csc.jp> Date: Fri Jun 17 20:05:40 2022 +0100 patch 8.2.5118: MS-Windows: sending a message to another Vim may hang Problem: MS-Windows: sending a message to another Vim may hang if that Vim is halted. Solution: Add a timeout to serverSendToVim(). (Ken Takata, closes #10585)
author Bram Moolenaar <Bram@vim.org>
date Fri, 17 Jun 2022 21:15: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