view ci/setup-xvfb.sh @ 24737:e97a14604f65 v8.2.2907

patch 8.2.2907: memory leak when running out of memory Commit: https://github.com/vim/vim/commit/28cf44f761a7bf261bcd0760a1c5f61070f69595 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Sat May 29 22:34:19 2021 +0200 patch 8.2.2907: memory leak when running out of memory Problem: Memory leak when running out of memory. Solution: Free the allocated memory. (Dominique Pell?, closes https://github.com/vim/vim/issues/8284)
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 May 2021 22:45:02 +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