File harden_mbpfan.service.patch of Package mbpfan

--- a/mbpfan.service
+++ b/mbpfan.service
@@ -4,6 +4,16 @@ After=syslog.target
 After=sysinit.target
 
 [Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions 
 Type=simple
 ExecStart=/usr/sbin/mbpfan -f
 ExecReload=/usr/bin/kill -HUP $MAINPID
openSUSE Build Service is sponsored by