22 lines
679 B
Diff
22 lines
679 B
Diff
|
Index: ledmon-0.96/systemd/ledmon.service.in
|
||
|
===================================================================
|
||
|
--- ledmon-0.96.orig/systemd/ledmon.service.in
|
||
|
+++ ledmon-0.96/systemd/ledmon.service.in
|
||
|
@@ -5,6 +5,16 @@ Description=Enclosure LED Utilities
|
||
|
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
|