/etc/init/strongswan.conf is in strongswan-starter 5.1.2-0ubuntu2.11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Upstart job for strongSwan.
description "strongSwan IPsec services"
author "Jonathan Davies <jonathan.davies@canonical.com>"
start on (runlevel [2345] and net-device-up IFACE!=lo)
stop on runlevel [!2345]
expect fork
respawn
pre-start script
# Create lock directory.
mkdir -p /var/lock/subsys/
end script
post-stop script
rm -f /var/run/charon.pid /var/run/starter.charon.pid
end script
env PIDFILE=/var/run/charon.pid
pre-start exec /usr/sbin/ipsec start
post-stop exec /usr/sbin/ipsec stop
|