2021-12-09 10:26:15 +01:00
|
|
|
Index: frr-frr-8.1/tools/frr.service.in
|
2021-09-27 20:40:19 +02:00
|
|
|
===================================================================
|
2021-12-09 10:26:15 +01:00
|
|
|
--- frr-frr-8.1.orig/tools/frr.service.in
|
|
|
|
+++ frr-frr-8.1/tools/frr.service.in
|
|
|
|
@@ -7,6 +7,16 @@ Before=network.target
|
2021-10-13 21:19:15 +02:00
|
|
|
OnFailure=heartbeat-failed@%n
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectSystem=full
|
2021-12-09 10:26:15 +01:00
|
|
|
+ReadWritePaths=/etc/frr
|
2021-10-13 21:19:15 +02:00
|
|
|
+ProtectHome=true
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
+RestrictRealtime=true
|
|
|
|
+# end of automatic additions
|
|
|
|
Nice=-5
|
|
|
|
Type=forking
|
|
|
|
NotifyAccess=all
|
2021-12-09 10:26:15 +01:00
|
|
|
Index: frr-frr-8.1/tools/frr@.service.in
|
2021-10-13 21:19:15 +02:00
|
|
|
===================================================================
|
2021-12-09 10:26:15 +01:00
|
|
|
--- frr-frr-8.1.orig/tools/frr@.service.in
|
|
|
|
+++ frr-frr-8.1/tools/frr@.service.in
|
|
|
|
@@ -7,6 +7,16 @@ Before=network.target
|
2021-10-13 21:19:15 +02:00
|
|
|
OnFailure=heartbeat-failed@%n
|
2021-09-27 20:40:19 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
+# added automatically, for details please see
|
|
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
+ProtectSystem=full
|
2021-12-09 10:26:15 +01:00
|
|
|
+ReadWritePaths=/etc/frr
|
2021-09-27 20:40:19 +02:00
|
|
|
+ProtectHome=true
|
|
|
|
+ProtectKernelModules=true
|
|
|
|
+ProtectKernelLogs=true
|
|
|
|
+ProtectControlGroups=true
|
|
|
|
+RestrictRealtime=true
|
|
|
|
+# end of automatic additions
|
|
|
|
Nice=-5
|
|
|
|
Type=forking
|
|
|
|
NotifyAccess=all
|