On Fri, Dec 29 2017, Bill Allombert wrote:
>> It would be nice to have a non-forking mode though.
>
> So you would like a command line option that prevent forking ?
> What should be the name ? --no-daemon ?

I've seen and like "-f" for "foreground" personally, but --no-daemon is
just as good: your call. This would avoid the need for a pid file in
both cases:

With start-stop-daemon you can combine -m -b to make a pid file for you.
With systemd just change Type=simple (or remove it as it's default).

Reply via email to