view ci/setup-xvfb.sh @ 31614:f3c7e573b7be v9.0.1139

patch 9.0.1139: cannot create a new object in a compiled function Commit: https://github.com/vim/vim/commit/46ab925937d04c208d905cfb50bd8ffcae11e466 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 3 14:01:21 2023 +0000 patch 9.0.1139: cannot create a new object in a compiled function Problem: Cannot create a new object in a compiled function. Solution: Compile the instructins to create a new object.
author Bram Moolenaar <Bram@vim.org>
date Tue, 03 Jan 2023 15:15:03 +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