view ci/setup-xvfb.sh @ 31968:aa38648a8c4e v9.0.1316

patch 9.0.1316: MS-Windows: vimfiles dir created with admin group Commit: https://github.com/vim/vim/commit/eea0a00811e8e8e3c2d07964ea61795cce5a4665 Author: Christopher Plewright <chris@createng.com> Date: Fri Feb 17 20:04:51 2023 +0000 patch 9.0.1316: MS-Windows: vimfiles dir created with admin group Problem: MS-Windows: vimfiles dir created with admin group. Solution: Use ShellExecAsUser to create the vimfiles directory. (Christopher Plewright, Ken Takata, closes #12000, closes #11888)
author Bram Moolenaar <Bram@vim.org>
date Fri, 17 Feb 2023 21:15:03 +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