In Bionic, we have: [Unit] Description=strongSwan IPsec services Wants=network-online.target After=network-online.target
[Service] Type=forking Restart=on-failure ExecStartPre=/bin/mkdir -p /var/lock/subsys Environment="PIDFILE=/var/run/charon.pid" ExecStart=/usr/sbin/ipsec start ExecStop=/usr/sbin/ipsec stop ExecStopPost=/bin/rm -f /var/run/charon.pid /var/run/starter.charon.pid [Install] WantedBy=multi-user.target In unstable, we have: [Unit] Description=strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf After=network-online.target [Service] ExecStart=/usr/sbin/ipsec start --nofork ExecReload=/usr/sbin/ipsec reload StandardOutput=syslog Restart=on-abnormal [Install] WantedBy=multi-user.target Debian only adds ExecReload= while Ubuntu ships a custom version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734886 Title: strongswan service file should be upstream one To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1734886/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
