forked from pool/ipmiutil
24 lines
829 B
Diff
24 lines
829 B
Diff
|
Index: ipmiutil-3.1.7/scripts/ipmiutil_wdt.service
|
||
|
===================================================================
|
||
|
--- ipmiutil-3.1.7.orig/scripts/ipmiutil_wdt.service
|
||
|
+++ ipmiutil-3.1.7/scripts/ipmiutil_wdt.service
|
||
|
@@ -3,6 +3,18 @@ Description=ipmiutil Watchdog Timer Serv
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
+# added automatically, for details please see
|
||
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||
|
+ProtectSystem=full
|
||
|
+ProtectHome=true
|
||
|
+ProtectHostname=true
|
||
|
+ProtectClock=true
|
||
|
+ProtectKernelTunables=true
|
||
|
+ProtectKernelModules=true
|
||
|
+ProtectKernelLogs=true
|
||
|
+ProtectControlGroups=true
|
||
|
+RestrictRealtime=true
|
||
|
+# end of automatic additions
|
||
|
ExecStart=/usr/share/ipmiutil/ipmiutil_wdt start
|
||
|
ExecStop=/usr/share/ipmiutil/ipmiutil_wdt stop
|
||
|
ExecReload=/usr/share/ipmiutil/ipmiutil_wdt restart
|