view ci/setup-xvfb.sh @ 27014:b861ae62860d v8.2.4036

patch 8.2.4036: Vim9: script test file is getting too long Commit: https://github.com/vim/vim/commit/d844862bcec5db210116847a67de93578ba781d7 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 7 21:39:52 2022 +0000 patch 8.2.4036: Vim9: script test file is getting too long Problem: Vim9: script test file is getting too long. Solution: Split the import/export functionality to a separate file.
author Bram Moolenaar <Bram@vim.org>
date Fri, 07 Jan 2022 22:45:02 +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