view ci/setup-xvfb.sh @ 32246:6e96bd314ffe v9.0.1454

patch 9.0.1454: code indenting is confused by macros Commit: https://github.com/vim/vim/commit/7e5fe38efc105721400048a2ffdeddbe1b9c0650 Author: ichizok <gclient.gaap@gmail.com> Date: Sat Apr 15 13:17:50 2023 +0100 patch 9.0.1454: code indenting is confused by macros Problem: Code indenting is confused by macros. Solution: Put semicolon after the macros instead of inside. (Ozaki Kiichi, closes #12257)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Apr 2023 14:30:05 +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