view ci/setup-xvfb.sh @ 29310:f103da6ba95f v8.2.5171

patch 8.2.5171: dependencies and proto files are outdated Commit: https://github.com/vim/vim/commit/d21e5bde7c74eab8b10fddc30d12a313c7e7dcd0 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 27 22:52:43 2022 +0100 patch 8.2.5171: dependencies and proto files are outdated Problem: Dependencies and proto files are outdated. Solution: Update dependencies and proto files. Avoid errors.
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Jun 2022 00:00:15 +0200
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