view ci/setup-xvfb.sh @ 31412:742b7bf2fefc v9.0.1039

patch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twice Commit: https://github.com/vim/vim/commit/bb393d8259af8aec095e96d81624a16ed9f25005 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 9 12:21:50 2022 +0000 patch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twice Problem: Using a <Cmd> mapping CmdlineChanged may be triggered twice. Solution: Count the number of times CmdlineChanged is triggered and avoid doing it twice. (closes #116820
author Bram Moolenaar <Bram@vim.org>
date Fri, 09 Dec 2022 13: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