2022-04-01 13:14:22 +00:00
|
|
|
diff --git a/lib/systemd/system/openfortivpn@.service.in b/lib/systemd/system/openfortivpn@.service.in
|
2023-07-05 14:36:42 +00:00
|
|
|
index 1249037..741ae07 100644
|
2022-04-01 13:14:22 +00:00
|
|
|
--- a/lib/systemd/system/openfortivpn@.service.in
|
|
|
|
|
+++ b/lib/systemd/system/openfortivpn@.service.in
|
2023-07-05 14:36:42 +00:00
|
|
|
@@ -9,6 +9,17 @@ Documentation=https://github.com/adrienverge/openfortivpn/wiki
|
2021-10-17 12:59:54 +00:00
|
|
|
[Service]
|
2022-04-01 13:14:22 +00:00
|
|
|
Type=notify
|
2021-10-17 12:59:54 +00:00
|
|
|
PrivateTmp=true
|
|
|
|
|
+# 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
|
|
|
|
|
ExecStart=@BINDIR@/openfortivpn -c @SYSCONFDIR@/openfortivpn/%I.conf
|
2023-07-05 14:36:42 +00:00
|
|
|
Restart=on-failure
|
2021-10-17 12:59:54 +00:00
|
|
|
OOMScoreAdjust=-100
|