summaryrefslogtreecommitdiff
path: root/honk.service
blob: 0d9d3bac4157a8fa56d7828dd3da4677370a1aeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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