view ci/setup-xvfb.sh @ 28811:bd5b6ac5998f v8.2.4929

patch 8.2.4929: off-by-one error in in statusline item Commit: https://github.com/vim/vim/commit/57ff52677bf5ba1651281ffe40505df8feba4a36 Author: LemonBoy <thatlemon@gmail.com> Date: Mon May 9 21:03:47 2022 +0100 patch 8.2.4929: off-by-one error in in statusline item Problem: Off-by-one error in in statusline item. Solution: Subtrace one less. (closes https://github.com/vim/vim/issues/10394, closes https://github.com/vim/vim/issues/5599)
author Bram Moolenaar <Bram@vim.org>
date Mon, 09 May 2022 22: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