view ci/setup-xvfb.sh @ 31012:4ba2890de10d v9.0.0841

patch 9.0.0841: deletebufline() does not always return 1 on failure Commit: https://github.com/vim/vim/commit/7af3ee2b83545169d78a28ab1cd89aff1127f8b3 Author: zeertzjq <zeertzjq@outlook.com> Date: Sun Nov 6 22:26:05 2022 +0000 patch 9.0.0841: deletebufline() does not always return 1 on failure Problem: deletebufline() does not always return 1 on failure. Solution: Refactor the code to make it work more predictable. (closes https://github.com/vim/vim/issues/11511)
author Bram Moolenaar <Bram@vim.org>
date Sun, 06 Nov 2022 23:30:03 +0100
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