harden_fancontrol.service

This commit is contained in:
Johannes Segitz authored and Michal Suchanek committed 2023-12-26 13:51:51 +01:00
1 parent db241f6c6d
commit 209aab03ee
1 file changed
+9
+9
View File
@@ -4,6 +4,15 @@ ConditionFileNotEmpty=/etc/fancontrol
After=lm_sensors.service
[Service]
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
ProtectHome=true
ProtectHostname=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Type=simple
PIDFile=/run/fancontrol.pid
ExecStart=/usr/sbin/fancontrol