- Update to version 2.8.1 For more see NEWS.adoc and UPGRADING.adoc in /usr/share/doc/packages/nut (the list of changes is too long to list). - Remove obsolete patch: * nut-Solaris-init-files.patch OBS-URL: https://build.opensuse.org/request/show/1123362 OBS-URL: https://build.opensuse.org/package/show/hardware/nut?expand=0&rev=109
22 lines
833 B
Diff
22 lines
833 B
Diff
diff -purN a/scripts/systemd/nut-monitor.service.in b/scripts/systemd/nut-monitor.service.in
|
|
--- a/scripts/systemd/nut-monitor.service.in 2023-10-07 16:06:44.000000000 +0200
|
|
+++ b/scripts/systemd/nut-monitor.service.in 2023-11-03 19:48:16.280004811 +0100
|
|
@@ -25,6 +25,17 @@ Wants=nut-server.service
|
|
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
|
|
ExecStartPre=-@SYSTEMD_TMPFILES_PROGRAM@ --create @systemdtmpfilesdir@/nut-common-tmpfiles.conf
|