|
From: Steffan K. <ste...@fo...> - 2016-11-30 09:06:41
|
Hi,
On 30-11-16 09:59, Christian Hesse wrote:
> --- a/src/openvpn/init.c
> +++ b/src/openvpn/init.c
> @@ -926,6 +926,13 @@ bool
> possibly_become_daemon (const struct options *options)
> {
> bool ret = false;
> +
> +#ifdef ENABLE_SYSTEMD
> + /* return without forking if we are running from systemd */
> + if (sd_notify(0, "READY=0") > 0)
> + return ret;
> +#endif
> +
> if (options->daemon)
> {
> ASSERT (!options->inetd);
Does this mean I cannot run openvpn --config bla.conf --daemon from the
command line any more on a systemd system? This would be a deal-breaker
for me.
-Steffan
|