view ci/setup-xvfb.sh @ 23636:334012f134f8 v8.2.2360

patch 8.2.2360: test leaves file behind Commit: https://github.com/vim/vim/commit/a3b494d6afa79aedce42fa4ecc7ef0dbae79e37e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 16 13:43:31 2021 +0100 patch 8.2.2360: test leaves file behind Problem: Test leaves file behind. Solution: Delete the right file. (Dominique Pell?, closes https://github.com/vim/vim/issues/7689)
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 Jan 2021 13:45:04 +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