harden_lm_sensors.service

This commit is contained in:
Johannes Segitz authored and Michal Suchanek committed 2023-12-26 13:51:51 +01:00
1 parent 209aab03ee
commit 6c21643ed0
1 file changed
+9
+9
View File
@@ -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