summaryrefslogtreecommitdiff
path: root/debian/strongswan-starter.ipsec.init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/strongswan-starter.ipsec.init')
-rw-r--r--debian/strongswan-starter.ipsec.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/strongswan-starter.ipsec.init b/debian/strongswan-starter.ipsec.init
index cfdbb8426..cd10682cf 100644
--- a/debian/strongswan-starter.ipsec.init
+++ b/debian/strongswan-starter.ipsec.init
@@ -34,6 +34,9 @@ SCRIPTNAME=/etc/init.d/$NAME
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
. /lib/lsb/init-functions
+# Create lock dir
+mkdir -p /var/lock/subsys
+
#
# Function that starts the daemon/service
#