forked from pool/ledmon
23 lines
707 B
Diff
23 lines
707 B
Diff
|
Index: ledmon-0.95/systemd/ledmon.service.in
|
||
|
===================================================================
|
||
|
--- ledmon-0.95.orig/systemd/ledmon.service.in
|
||
|
+++ ledmon-0.95/systemd/ledmon.service.in
|
||
|
@@ -5,6 +5,17 @@ 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
|
||
|
+ProtectKernelTunables=true
|
||
|
+ProtectKernelModules=true
|
||
|
+ProtectKernelLogs=true
|
||
|
+ProtectControlGroups=true
|
||
|
+RestrictRealtime=true
|
||
|
+# end of automatic additions
|
||
|
Type=simple
|
||
|
User=root
|
||
|
ExecStart=@sbindir@/ledmon --foreground
|