summaryrefslogtreecommitdiff
path: root/honk.service
diff options
context:
space:
mode:
Diffstat (limited to 'honk.service')
-rw-r--r--honk.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/honk.service b/honk.service
index 661030b..f42c7aa 100644
--- a/honk.service
+++ b/honk.service
@@ -1,9 +1,20 @@
[Unit]
Description="Honk ActivityPub server"
+After=syslog.target network.target
+Requires=network.target
[Service]
+Restart=always
+RestartSec=30
WorkingDirectory=/usr/share/honk
ExecStart=/usr/bin/honk
+NoNewPrivileges=yes
+ProtectHostname=true
+ProtectKernelLogs=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectControlGroups=true
+
User=honk
Group=honk