1
0
forked from pool/hiawatha
hiawatha/harden_hiawatha.service.patch
2023-12-13 01:10:10 +01:00

23 lines
695 B
Diff

--- hiawatha-11.5.orig/extra/debian/hiawatha.service 2023-12-12 17:40:23.830171726 -0600
+++ hiawatha-11.5/extra/debian/hiawatha.service 2023-12-12 17:41:51.282599042 -0600
@@ -3,6 +3,19 @@
After=network.target
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=read-only
+PrivateDevices=true
+ProtectHostname=true
+ProtectClock=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
Type=forking
PIDFile=/var/run/hiawatha.pid
ExecStartPre=/usr/sbin/wigwam -q