view ci/setup-xvfb.sh @ 24954:9b7fac4c70a0 v8.2.3014

patch 8.2.3014: Coverity warns for freeing static string Commit: https://github.com/vim/vim/commit/6e9695525e212466398a269a54bc4d53625673f0 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Thu Jun 17 13:53:41 2021 +0200 patch 8.2.3014: Coverity warns for freeing static string Problem: Coverity warns for freeing static string. Solution: Do not assign static string to pointer. (Dominique Pell?, closes #8397)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Jun 2021 14:00:06 +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