summarylogtreecommitdiffstats
path: root/geph-exit.service
diff options
context:
space:
mode:
Diffstat (limited to 'geph-exit.service')
-rw-r--r--geph-exit.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/geph-exit.service b/geph-exit.service
new file mode 100644
index 00000000000..57d24e80c76
--- /dev/null
+++ b/geph-exit.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Geph exit Service
+After=network.target nss-lookup.target
+
+[Service]
+Type=simple
+User=nobody
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+AmbientCapabilities=CAP_NET_BIND_SERVICE
+NoNewPrivileges=true
+ExecStart=/usr/bin/geph-exit
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target