summaryrefslogtreecommitdiffstatshomepage
path: root/contrib/sentrum.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sentrum.service')
-rw-r--r--contrib/sentrum.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/sentrum.service b/contrib/sentrum.service
new file mode 100644
index 0000000..2d27524
--- /dev/null
+++ b/contrib/sentrum.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=sentrum daemon
+
+[Service]
+ExecStart=/usr/bin/sentrum
+User=sentrum
+
+# Hardening
+PrivateTmp=true
+ProtectSystem=full
+NoNewPrivileges=true
+PrivateDevices=true
+MemoryDenyWriteExecute=true
+
+[Install]
+WantedBy=multi-user.target