view ci/setup-xvfb.sh @ 24864:db4afe19285d v8.2.2970

patch 8.2.2970: Python configure check uses deprecated command Commit: https://github.com/vim/vim/commit/31e299c08f250b126b2c2c0ecce12ee563b70fdc Author: Zdenek Dohnal <zdohnal@redhat.com> Date: Thu Jun 10 18:50:55 2021 +0200 patch 8.2.2970: Python configure check uses deprecated command Problem: Python configure check uses deprecated command. Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal, closes #8354)
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Jun 2021 19:00:03 +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