diff options
Diffstat (limited to 'net-vpn/openfortivpn/files')
-rw-r--r-- | net-vpn/openfortivpn/files/openfortivpn-1.02.3-systemd_substitute_bin_and_sysconfig_dirs.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-vpn/openfortivpn/files/openfortivpn-1.02.3-systemd_substitute_bin_and_sysconfig_dirs.patch b/net-vpn/openfortivpn/files/openfortivpn-1.02.3-systemd_substitute_bin_and_sysconfig_dirs.patch new file mode 100644 index 000000000000..e9435f3054ed --- /dev/null +++ b/net-vpn/openfortivpn/files/openfortivpn-1.02.3-systemd_substitute_bin_and_sysconfig_dirs.patch @@ -0,0 +1,11 @@ +--- a/lib/systemd/system/openfortivpn@.service.in ++++ b/lib/systemd/system/openfortivpn@.service.in +@@ -9,7 +9,7 @@ Documentation=https://github.com/adrienverge/openfortivpn/wiki + [Service] + Type=notify + PrivateTmp=true +-ExecStart=@BINDIR@/openfortivpn -c @SYSCONFDIR@/openfortivpn/%I.conf ++ExecStart=/usr/bin/openfortivpn -c /etc/openfortivpn/%I.conf + Restart=on-failure + OOMScoreAdjust=-100 + |