Index: nut-2.7.4/scripts/systemd/nut-monitor.service.in =================================================================== --- a/scripts/systemd/nut-monitor.service.in +++ b/scripts/systemd/nut-monitor.service.in @@ -3,6 +3,17 @@ PartOf=nut.target [Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +ProtectHostname=true +ProtectKernelTunables=true +ProtectKernelModules=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions EnvironmentFile=-@CONFPATH@/nut.conf SyslogIdentifier=%N ExecStart=@SBINDIR@/upsmon -F