view ci/setup-xvfb.sh @ 26784:c95a3f25b6b1 v8.2.3920

patch 8.2.3920: restoring directory after using another window is inefficient Commit: https://github.com/vim/vim/commit/90c317f2246a7fb4bd4e3feb0778b53627bc9fad Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 28 13:15:05 2021 +0000 patch 8.2.3920: restoring directory after using another window is inefficient Problem: Restoring directory after using another window is inefficient. Solution: Only restore the directory for win_execute(). Apply 'autochdir' only when needed.
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Dec 2021 14:30: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