summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-26 08:53:15 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-26 08:53:15 +0200
commit03e1d273acf3c182da69013288eda3a8f274153b (patch)
treee46e0008eac23c2c8b21d818995e735f2c91e50e /src/etc
parent037aa93f493648f6e99b796fce920ec63dbc994e (diff)
downloadvyos-1x-03e1d273acf3c182da69013288eda3a8f274153b.tar.gz
vyos-1x-03e1d273acf3c182da69013288eda3a8f274153b.zip
Revert "ipsec: T3643: move swanctl.conf to /run"
This reverts commit 95bbbb8bed92a60a320ff255c8b8656145f3c540.
Diffstat (limited to 'src/etc')
-rwxr-xr-xsrc/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook2
-rw-r--r--src/etc/systemd/system/ipsec.service.d/override.conf7
2 files changed, 1 insertions, 8 deletions
diff --git a/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook b/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook
index 7b3a18afa..a7a9a2ce6 100755
--- a/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook
+++ b/src/etc/dhcp/dhclient-exit-hooks.d/ipsec-dhclient-hook
@@ -38,7 +38,7 @@ import re
from vyos.util import call
from vyos.util import cmd
-SWANCTL_CONF="/run/swanctl/swanctl.conf"
+SWANCTL_CONF="/etc/swanctl/swanctl.conf"
def getlines(file):
with open(file, 'r') as f:
diff --git a/src/etc/systemd/system/ipsec.service.d/override.conf b/src/etc/systemd/system/ipsec.service.d/override.conf
deleted file mode 100644
index e8c0872b5..000000000
--- a/src/etc/systemd/system/ipsec.service.d/override.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-[Unit]
-ConditionPathExists=/run/swanctl/swanctl.conf
-After=
-After=vyos-router.service
-
-[Service]
-Environment="SWANCTL_DIR=/run/swanctl"