summaryrefslogtreecommitdiff
path: root/net-vpn/openfortivpn/files/systemd_substitute_bin_and_sysconfig_dirs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/openfortivpn/files/systemd_substitute_bin_and_sysconfig_dirs.patch')
-rw-r--r--net-vpn/openfortivpn/files/systemd_substitute_bin_and_sysconfig_dirs.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-vpn/openfortivpn/files/systemd_substitute_bin_and_sysconfig_dirs.patch b/net-vpn/openfortivpn/files/systemd_substitute_bin_and_sysconfig_dirs.patch
new file mode 100644
index 000000000000..4cfe57c46545
--- /dev/null
+++ b/net-vpn/openfortivpn/files/systemd_substitute_bin_and_sysconfig_dirs.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/systemd/system/openfortivpn@.service.in b/lib/systemd/system/openfortivpn@.service.in
+index 6c30230..3ff3d7c 100644
+--- a/lib/systemd/system/openfortivpn@.service.in
++++ b/lib/systemd/system/openfortivpn@.service.in
+@@ -6,7 +6,7 @@ Documentation=man:openfortivpn(1)
+ [Service]
+ Type=simple
+ PrivateTmp=true
+-ExecStart=@BINDIR@/openfortivpn -c @SYSCONFDIR@/openfortivpn/%I.conf
++ExecStart=/usr/bin/openfortivpn -c /etc/openfortivpn/%I.conf
+ OOMScoreAdjust=-100
+
+ [Install]