summaryrefslogtreecommitdiffstatshomepage
path: root/contrib/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/systemd')
-rw-r--r--contrib/systemd/sentrum.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/systemd/sentrum.service b/contrib/systemd/sentrum.service
new file mode 100644
index 0000000..2d27524
--- /dev/null
+++ b/contrib/systemd/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