[opensuse-buildservice] startproc not creating pid file
Good day! It seems weird but my init script is not creating the pid file. Here is the code: "... PID_FILE=/var/run/service.pid ... case "$1" in start) echo -n "Starting Service daemon " ## Start daemon with startproc(8). If this fails ## the return value is set appropriately by startproc. startproc -l $LOG_FILE -p $PID_FILE $SERVICE_BIN -f /etc/configs # Remember status and be verbose rc_status -v ;; ..." Any ideias? -- [ ]'s Aledr - Alexandre "OpenSource Solutions for SmallBusiness Problems" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, On Thursday, October 25, 2007 at 12:21:43, aledr wrote:
It seems weird but my init script is not creating the pid file. Here is the code:
startproc -l $LOG_FILE -p $PID_FILE $SERVICE_BIN -f /etc/configs
Startproc will not create your pid file. Thats your service's job. with -p you can just tell startproc to use a different file for pid matching. Henne -- Henne Vogelsang, openSUSE. Everybody has a plan, until they get hit. - Mike Tyson --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
aledr
-
Henne Vogelsang