view ci/setup-xvfb.sh @ 30998:10aa54743543 v9.0.0834

patch 9.0.0834: warning for missing return type Commit: https://github.com/vim/vim/commit/f8ea10677d007befbb6f24cd20f35c3bf71c1296 Author: Sam James <sam@gentoo.org> Date: Sat Nov 5 15:13:50 2022 +0000 patch 9.0.0834: warning for missing return type Problem: Warning for missing return type. Solution: Add "int". (San James, closes https://github.com/vim/vim/issues/11496)
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Nov 2022 16: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