view ci/setup-xvfb.sh @ 23968:da1c89e61b04 v8.2.2526

patch 8.2.2526: build failure Commit: https://github.com/vim/vim/commit/527ed38cfacc5abf32ef3e63f98966d011cd95de Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 17 15:05:45 2021 +0100 patch 8.2.2526: build failure Problem: Build failure. Solution: Change lookup_scriptvar() arguments.
author Bram Moolenaar <Bram@vim.org>
date Wed, 17 Feb 2021 15: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