view ci/setup-xvfb.sh @ 23270:22d0c25869d8 v8.2.2181

patch 8.2.2181: valgrind warnings for using uninitialized value Commit: https://github.com/vim/vim/commit/a3d10a508c404a32485adc86284725e0bdc5b602 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 21 18:24:00 2020 +0100 patch 8.2.2181: valgrind warnings for using uninitialized value Problem: Valgrind warnings for using uninitialized value. Solution: Do not use "start" or "end" unless there is a match.
author Bram Moolenaar <Bram@vim.org>
date Mon, 21 Dec 2020 18:30:04 +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