2023-04-27 10:34:45 +02:00
|
|
|
Index: ledmon-0.96/systemd/ledmon.service.in
|
2021-10-16 11:50:31 +02:00
|
|
|
===================================================================
|
2023-04-27 10:34:45 +02:00
|
|
|
--- ledmon-0.96.orig/systemd/ledmon.service.in
|
|
|
|
+++ ledmon-0.96/systemd/ledmon.service.in
|
|
|
|
@@ -5,6 +5,16 @@ Description=Enclosure LED Utilities
|
2021-10-16 11:50:31 +02:00
|
|
|
WantedBy=multi-user.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectSystem=full
|
|
|
|
+ProtectHome=true
|
|
|
|
+ProtectHostname=true
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
+RestrictRealtime=true
|
|
|
|
+# end of automatic additions
|
|
|
|
Type=simple
|
|
|
|
User=root
|
|
|
|
ExecStart=@sbindir@/ledmon --foreground
|