]> git.ipfire.org Git - thirdparty/openvpn.git/commit - src/openvpn/init.c
Refuse to daemonize when running from systemd
authorChristian Hesse <mail@eworm.de>
Thu, 1 Dec 2016 21:31:04 +0000 (22:31 +0100)
committerDavid Sommerseth <davids@openvpn.net>
Thu, 1 Dec 2016 22:46:06 +0000 (23:46 +0100)
commit7660bba111f739f9cc7017c392c1434f201b8c44
tree6cc9a557b65a37bc080c79890271e69bada6dfd5
parentc5931897ae8d663e7e6244764fc6379d7b4740f3
Refuse to daemonize when running from systemd

We start with systemd Type=notify, so refuse to daemonize. This does not
affect starting openvpn from script or command line.

v2: Update commit message about script and command line.

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-2-list@eworm.de>
URL: http://www.mail-archive.com/search?l=mid&q=20161201213104.5667-2-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