view ci/setup-xvfb.sh @ 27167:391eb1c30344 v8.2.4112

patch 8.2.4112: function not deleted at end of test Commit: https://github.com/vim/vim/commit/d9b74a2a41e43ca17a9885ec0a58404adff4273f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 16 15:00:08 2022 +0000 patch 8.2.4112: function not deleted at end of test Problem: Function not deleted at end of test. Solution: Delete the function.
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 Jan 2022 16:15: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