From 5610c8560c40bd31b27f342b81227d8a1b4b1594 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 22 Sep 2008 09:34:51 +0000 Subject: s-s-d now handles interpreted daemons more easily. --- man/start-stop-daemon.8 | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'man') diff --git a/man/start-stop-daemon.8 b/man/start-stop-daemon.8 index b2b1048..3a250a6 100644 --- a/man/start-stop-daemon.8 +++ b/man/start-stop-daemon.8 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 20, 2008 +.Dd September 22, 2008 .Dt START-STOP-DAEMON 8 SMM .Os OpenRC .Sh NAME @@ -74,16 +74,6 @@ The we start or stop. If this option is not specified, then the first non option argument is used. -If the -.Ar daemon -is a script and you are not using the pidfile or process name options, -then you should replace -.Ar daemon -with the interpreter and pass -.Ar daemon -as an argument. Below is an example: -.Pp -start-stop-daemon perl -- /usr/bin/daemon.pl .It Fl p , -pidfile Ar pidfile When starting, we expect the daemon to create a valid .Ar pidfile @@ -176,6 +166,9 @@ to stop or signal. .Xr getopt 3 , .Xr nice 2 , .Xr rc_find_pids 3 +.Sh BUGS +.Nm +cannot stop an interperted daemon that no longer exists without a pidfile. .Sh HISTORY .Nm first appeared in Debian. -- cgit v1.2.3