From 77262c359c4aaf15ba00b07cd51f3987ce514769 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 30 Nov 2018 11:45:48 -0600 Subject: supervise-daemon: add support for a fifo This will allow us to signal the daemon we are supervising as well as send other commands to the supervisor in the future. This fixes #227. --- man/supervise-daemon.8 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'man') diff --git a/man/supervise-daemon.8 b/man/supervise-daemon.8 index 0da1c5ac..1bf19de0 100644 --- a/man/supervise-daemon.8 +++ b/man/supervise-daemon.8 @@ -57,6 +57,11 @@ .Ar daemon .Fl r , -chroot .Ar chrootpath +.Nm +.Fl s , -signal +.Ar signal +.Fl r , -chroot +.Ar chrootpath .Sh DESCRIPTION .Nm provides a consistent method of starting, stopping and restarting @@ -64,11 +69,8 @@ daemons. If .Fl K , -stop is not provided, then we assume we are starting the daemon. .Nm -only works with daemons which do not fork. Also, it uses its own pid -file, so the daemon should not write a pid file, or the pid file passed -to -.Nm -should not be the one the daemon writes. +only works with daemons which do not fork. If your daemon has options to +tell it not to fork, it should be configured to not fork. .Pp Here are the options to specify the daemon and how it should start or stop: .Bl -tag -width indent -- cgit v1.2.3