view ci/setup-xvfb.sh @ 30819:d50d32026617 v9.0.0744

patch 9.0.0744: in script in autoload dir exported variable is not found Commit: https://github.com/vim/vim/commit/6c4d4a64449ea225b1a568f5517e309b2054b490 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 13 17:47:42 2022 +0100 patch 9.0.0744: in script in autoload dir exported variable is not found Problem: In script in autoload dir exported variable is not found. (Doug Kearns) Solution: Find the variable with the "script#" prefix. (closes #11361)
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Oct 2022 19:00:06 +0200
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