view ci/setup-xvfb.sh @ 23703:6bfb302d8392 v8.2.2393

patch 8.2.2393: Vim9: error message when script line starts with "[{" Commit: https://github.com/vim/vim/commit/4bce26bb70144633713e7e8f149ba99cac511336 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 22 22:06:56 2021 +0100 patch 8.2.2393: Vim9: error message when script line starts with "[{" Problem: Vim9: error message when script line starts with "[{". Solution: Do not give an error for checking for end of list.
author Bram Moolenaar <Bram@vim.org>
date Fri, 22 Jan 2021 22: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