2022-02-10 19:19:31 +01:00
|
|
|
Index: hiawatha-10.11/extra/debian/hiawatha.service
|
|
|
|
===================================================================
|
|
|
|
--- hiawatha-10.11.orig/extra/debian/hiawatha.service
|
|
|
|
+++ hiawatha-10.11/extra/debian/hiawatha.service
|
|
|
|
@@ -3,6 +3,19 @@ Description=Hiawatha webserver
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectSystem=full
|
2022-03-31 23:49:39 +02:00
|
|
|
+ProtectHome=read-only
|
2022-02-10 19:19:31 +01:00
|
|
|
+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
|