view ci/setup-xvfb.sh @ 24075:c5e396fb0ebe v8.2.2579

patch 8.2.2579: Vim9: crash in garbagecollect after for loop Commit: https://github.com/vim/vim/commit/d00a7fb81aff367c5dd5d86fb3883f1e7a58fed5 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 8 20:47:14 2021 +0100 patch 8.2.2579: Vim9: crash in garbagecollect after for loop Problem: Vim9: crash in garbagecollect after for loop. Solution: Do not set a reference in script item when the name was cleared. (closes #7935)
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 Mar 2021 21:00: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