summaryrefslogtreecommitdiff
path: root/systemd/xvfb@.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/xvfb@.service')
-rw-r--r--systemd/xvfb@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/systemd/xvfb@.service b/systemd/xvfb@.service
new file mode 100644
index 0000000..875dca5
--- /dev/null
+++ b/systemd/xvfb@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Xvfb
+After=network-online.target
+
+[Service]
+User=%i
+Group=%i
+Restart=on-failure
+ProtectSystem=full
+PrivateDevices=true
+ExecStart=/usr/bin/Xvfb :1 -screen 0 1024x768x24
+
+[Install]
+WantedBy=multi-user.target