view ci/setup-xvfb.sh @ 24144:dffac5e62db5 v8.2.2613

patch 8.2.2613: new test throws exception Commit: https://github.com/vim/vim/commit/6ccfd99b923cc3452a6e6450dfdd7e31ea602dfd Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 17 13:39:33 2021 +0100 patch 8.2.2613: new test throws exception Problem: New test throws exception. Solution: Adjust the function cleanup.
author Bram Moolenaar <Bram@vim.org>
date Wed, 17 Mar 2021 13:45: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