view ci/setup-xvfb.sh @ 29305:949e8978ea43 v8.2.5169

patch 8.2.5169: nested :source may use NULL pointer Commit: https://github.com/vim/vim/commit/79481367a457951aabd9501b510fd7e3eb29c3d8 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 27 20:15:10 2022 +0100 patch 8.2.5169: nested :source may use NULL pointer Problem: Nested :source may use NULL pointer. Solution: Do not use the NULL pointer.
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Jun 2022 21:30:03 +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