summaryrefslogtreecommitdiff
path: root/systemd/xvfb@.service
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-03-14 00:09:59 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-03-14 00:09:59 +0300
commite0bfe4bb7bad9d63d24190549b134bbffdaae8b0 (patch)
treeb97d98f5208144e15aa6ba26e7eb5574e92cca71 /systemd/xvfb@.service
parenta566460a56afef809d8d21b24bc4e12f7dd1289a (diff)
save
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