Re: [Openvpn-devel] [PATCH v2 2/2] Refuse to daemonize when running from systemd

2016-12-02 Thread David Sommerseth
On 02/12/16 02:45, debbie10t wrote: [...snip...] > My east.conf file: > > # cat server/east.conf > > ### TESTS > # > ## systemd enhancements: failed as expect > ;bad-opt > > ## daemon: Did *not* fail when run from systemd service > daemon vpn-srv-east This is just as expected. Having --daemon

Re: [Openvpn-devel] [PATCH v2 2/2] Refuse to daemonize when running from systemd

2016-12-01 Thread debbie10t
Gutted .. I have to step in here NOW and say that this did not work for me. I applied to the current (as of this email) git master: * Use systemd service manager notification * The patch below * No others. - then $ autoreconf -ivf $ ./configure --enable-systemd $ make # make uninstall # ma

[Openvpn-devel] [PATCH v2 2/2] Refuse to daemonize when running from systemd

2016-12-01 Thread Christian Hesse
From: Christian Hesse 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 --- distro/systemd/openvpn-client@.service | 1 - distro/

[Openvpn-devel] [PATCH v2 2/2] Refuse to daemonize when running from systemd

2016-12-01 Thread Christian Hesse
From: Christian Hesse We start with systemd Type=notify, so refuse to daemonize. This does not affect starting openvpn from script or command line. Signed-off-by: Christian Hesse --- distro/systemd/openvpn-client@.service | 1 - distro/systemd/openvpn-server@.service | 1 - src/openvpn/init.c