diff --git a/prog/init/lm_sensors.service b/prog/init/lm_sensors.service index 7d3bf808..0d772416 100644 --- a/prog/init/lm_sensors.service +++ b/prog/init/lm_sensors.service @@ -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