diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2018-11-30 11:45:48 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-12-02 18:33:25 -0600 |
commit | 77262c359c4aaf15ba00b07cd51f3987ce514769 (patch) | |
tree | 07696411df3f4b178326a648e33e112c20858e69 /man | |
parent | 7f23e0461d6c6d24f5cfa39b9e404a7ec9cfd9c1 (diff) |
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.
Diffstat (limited to 'man')
-rw-r--r-- | man/supervise-daemon.8 | 12 |
1 files changed, 7 insertions, 5 deletions
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 |