view ci/setup-xvfb.sh @ 26761:3dbb8fdcd179 v8.2.3909

patch 8.2.3909: Containerfile using prefix name not recognized Commit: https://github.com/vim/vim/commit/bbdd3fb804bf69684f7b0f49d3c0a0b039daec02 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 27 10:35:52 2021 +0000 patch 8.2.3909: Containerfile using prefix name not recognized Problem: Containerfile using prefix name not recognized. Solution: Recognize Containerfile.*.
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Dec 2021 11:45: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