mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-13 17:00:15 +00:00
harden_lm_sensors.service
This commit is contained in:
1 parent
209aab03ee
commit
6c21643ed0
1 file changed
+9
@@ -2,6 +2,15 @@
|
||||
Description=Initialize hardware monitoring sensors
|
||||
|
||||
[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
|
||||
EnvironmentFile=/etc/sysconfig/lm_sensors
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
|
||||
Reference in new issue
Block a user