Improve security of example systemd unit file

The supplied systemd unit file places some basic security restrictions
on the rest service.  This patch enhances those, and improves the
overall security assessment score given by `systemd-analyze security`
from "8.3 EXPOSED" to "1.3 OK".

Closes #148
This commit is contained in:
Tim Small
2021-04-02 19:45:37 +01:00
parent 10dc7a4a86
commit 05a5d1f94e
2 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
Bugfix: Enhance security for example systemd unit file
Additional systemd features have been used to enhance the security of the
rest-server for systemd users.
https://github.com/restic/rest-server/issues/148
https://github.com/restic/rest-server/pull/149