diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2021-06-17 22:30:49 +0100 |
---|---|---|
committer | Miquel Lionel <lionel@les-miquelots.net> | 2021-06-17 22:31:25 +0100 |
commit | 015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30 (patch) | |
tree | 81cf315da47e263a79a892428240502cf0f7d079 /honk.service | |
parent | bf1a991d4337ebc15ed4e52176c8acf382ef0701 (diff) | |
download | honk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.tar.gz honk_custom-015a31a14f5de5a1c7aa3dc71175eb0c2fe58b30.zip |
shorter patch names, updated README.md, new Makefile
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 |