forked from BSDCafe/checkmyip
README Updated
This commit is contained in:
parent
59e88b250a
commit
9b754e8794
1 changed files with 3 additions and 2 deletions
|
@ -72,7 +72,8 @@ Create Service (`vi /etc/init.d/checkmyip`)
|
|||
DAEMON_PATH="/bin/"
|
||||
|
||||
DAEMON=checkmyip
|
||||
#DAEMONOPTS="run"
|
||||
STDOUTFILE=/etc/checkmyip/stdout.log
|
||||
STDERR=/etc/checkmyip/stderr.log
|
||||
|
||||
NAME=CheckMyIP
|
||||
DESC="CheckMyIP Daemon"
|
||||
|
@ -83,7 +84,7 @@ case "$1" in
|
|||
start)
|
||||
printf "%-50s" "Starting $NAME..."
|
||||
cd $DAEMON_PATH
|
||||
PID=`$DAEMON $DAEMONOPTS > /dev/null 2>&1 & echo $!`
|
||||
PID=`stdbuf -o0 $DAEMON >> $STDOUTFILE 2>>$STDERR & echo $!`
|
||||
#echo "Saving PID" $PID " to " $PIDFILE
|
||||
if [ -z $PID ]; then
|
||||
printf "%s
|
||||
|
|
Loading…
Reference in a new issue