]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Use systemd service manager notification
authorChristian Hesse <mail@eworm.de>
Thu, 1 Dec 2016 21:31:03 +0000 (22:31 +0100)
committerDavid Sommerseth <davids@openvpn.net>
Thu, 1 Dec 2016 22:45:50 +0000 (23:45 +0100)
commitc5931897ae8d663e7e6244764fc6379d7b4740f3
tree03f8bc37a8a8f2973990c7af57486e36cad44857
parent1c587a11122206186098c2014d407d0eb469656e
Use systemd service manager notification

Notify systemd service manager when our initialization sequence
completed. This helps ordering services as dependencies can rely on vpn
being available.

v2: Add curly brackets (and indention) to block the else-part, msg()
    call was non-conditional before.

v3: Move systemd header include from init.h to init.c.

Signed-off-by: Christian Hesse <mail@eworm.de>
Tested-By: Richard Bonhomme <fragmentux@gmail.com>
Acked-by: David Sommerseth <davids@openvpn.net>
Message-Id: <20161201213104.5667-1-list@eworm.de>
URL: http://www.mail-archive.com/search?l=mid&q=20161201213104.5667-1-list@eworm.de
Signed-off-by: David Sommerseth <davids@openvpn.net>
distro/systemd/openvpn-client@.service
distro/systemd/openvpn-server@.service
src/openvpn/init.c