Index: initfunctions.sgml =================================================================== RCS file: /cvsroot/lsb/spec/wip/sysinit/initfunctions.sgml,v retrieving revision 1.3 diff -u -r1.3 initfunctions.sgml --- initfunctions.sgml 17 Jun 2003 17:57:56 -0000 1.3 +++ initfunctions.sgml 8 Jul 2003 18:21:14 -0000 @@ -18,8 +18,8 @@ This runs the specified program as a daemon. -start_daemon will check to see if there is a program -named "daemon" already running. If so, it will not +start_daemon will check to see if the program is already running +using the algorithm given by pidofproc. If so, it will not start another copy of the daemon unless the -f option is given. The -n option specifies a nice level. See nice(1). @@ -66,10 +66,10 @@ potential security exposure). Hence, LSB-complaint applications who wish to use the pidofproc function in their init scripts must store the pid in -/var/run/basename.pid. +/var/run/basename.pid; multiple pids should be separated by a single space. pidofproc should return the LSB defined exist status codes for "status". It shall return 0 if the program is -the process is running and not 0 otherwise. +running and not 0 otherwise. log_success_msg "message"