diff options
Diffstat (limited to 'honk.service')
-rw-r--r-- | honk.service | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/honk.service b/honk.service new file mode 100644 index 0000000..0d9d3ba --- /dev/null +++ b/honk.service @@ -0,0 +1,23 @@ +[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 +ProtectKernelLogs=true +ProtectKernelModules=true +ProtectKernelTunables=true +ProtectControlGroups=true +ReadWritePaths=/usr/share/honk + + +User=honk +Group=honk + +[Install] +WantedBy=default.target |