mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-26 12:24:33 +00:00
harden_fancontrol.service
This commit is contained in:
1 parent
db241f6c6d
commit
209aab03ee
1 file changed
+9
@@ -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
|
||||
|
||||
Reference in new issue
Block a user