forked from pool/argus
Marcus Meissner
c73aa08cf6
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/911450 OBS-URL: https://build.opensuse.org/package/show/security/argus?expand=0&rev=29
25 lines
762 B
Diff
25 lines
762 B
Diff
Index: argus-3.0.8.3/support/Startup/argus.service
|
|
===================================================================
|
|
--- argus-3.0.8.3.orig/support/Startup/argus.service
|
|
+++ argus-3.0.8.3/support/Startup/argus.service
|
|
@@ -12,6 +12,19 @@ After=network.target
|
|
# This was tested on Fedora 16
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+ProtectSystem=full
|
|
+ProtectHome=true
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
+RestrictRealtime=true
|
|
+# end of automatic additions
|
|
ExecStartPre=/sbin/ifconfig em2 up
|
|
ExecStart=/usr/local/sbin/argus
|
|
|