view ci/setup-xvfb.sh @ 23996:c192411b27e8 v8.2.2540

patch 8.2.2540: Vim9: no error for using script var name for argument Commit: https://github.com/vim/vim/commit/b4893b84507570f24af32597716ffb67fb0ef24e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 21 22:20:24 2021 +0100 patch 8.2.2540: Vim9: no error for using script var name for argument Problem: Vim9: no error for using script var name for argument. Solution: Check for this error. (closes https://github.com/vim/vim/issues/7868)
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Feb 2021 22:30:05 +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