view ci/setup-xvfb.sh @ 32146:c21872825f23 v9.0.1404

patch 9.0.1404: compilation error with some compilers Commit: https://github.com/vim/vim/commit/e638acc9274112ca5ac6b610b01e44ab2a1e19ce Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 15 17:08:51 2023 +0000 patch 9.0.1404: compilation error with some compilers Problem: Compilation error with some compilers. Solution: Adjust array initialization. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Wed, 15 Mar 2023 18:15:04 +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