summaryrefslogtreecommitdiff
path: root/src/etc/systemd/system/ipsec.service.d/override.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/systemd/system/ipsec.service.d/override.conf')
-rw-r--r--src/etc/systemd/system/ipsec.service.d/override.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/etc/systemd/system/ipsec.service.d/override.conf b/src/etc/systemd/system/ipsec.service.d/override.conf
new file mode 100644
index 000000000..e8c0872b5
--- /dev/null
+++ b/src/etc/systemd/system/ipsec.service.d/override.conf
@@ -0,0 +1,7 @@
+[Unit]
+ConditionPathExists=/run/swanctl/swanctl.conf
+After=
+After=vyos-router.service
+
+[Service]
+Environment="SWANCTL_DIR=/run/swanctl"