view ci/setup-xvfb.sh @ 30053:f5cbf8a4043d v9.0.0364

patch 9.0.0364: clang static analyzer gives warnings Commit: https://github.com/vim/vim/commit/c99e182e1fb54e39540d25d0ccd8dcdde25bb96c Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat Sep 3 10:52:24 2022 +0100 patch 9.0.0364: clang static analyzer gives warnings Problem: Clang static analyzer gives warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/11043)
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Sep 2022 12:00:05 +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