view ci/setup-xvfb.sh @ 32106:f6bfcc31dcbc v9.0.1384

patch 9.0.1384: setting HOMEBREW_NO_AUTO_UPDATE is not needed with version 4 Commit: https://github.com/vim/vim/commit/b0b6b8b07eaeac5a22370d2b8ecefb6dd026c541 Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sun Mar 5 20:56:34 2023 +0000 patch 9.0.1384: setting HOMEBREW_NO_AUTO_UPDATE is not needed with version 4 Problem: Setting HOMEBREW_NO_AUTO_UPDATE is not needed with Homebew version 4. Solution: Remove setting HOMEBREW_NO_AUTO_UPDATE. (closes #12008)
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Mar 2023 22:00:02 +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