Mailinglist Archive: opensuse-buildservice (284 mails)
| < Previous | Next > |
[opensuse-buildservice] startproc not creating pid file
- From: aledr <matrixworkstation@xxxxxxxxx>
- Date: Thu, 25 Oct 2007 12:21:43 -0200
- Message-id: <73e156130710250721j628a807bjb12aa529c9d2dca7@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |