view ci/setup-xvfb.sh @ 28616:6ff407067190 v8.2.4832

patch 8.2.4832: passing zero instead of NULL to a pointer argument Commit: https://github.com/vim/vim/commit/fc78a0369e0d371a1a85d07045ff25d8695e8f8c Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Apr 26 22:11:38 2022 +0100 patch 8.2.4832: passing zero instead of NULL to a pointer argument Problem: Passing zero instead of NULL to a pointer argument. Solution: Use NULL. (closes https://github.com/vim/vim/issues/10296)
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Apr 2022 23:15:02 +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