README Updated

This commit is contained in:
John W Kerns 2017-09-05 12:01:31 -07:00
parent 59e88b250a
commit 9b754e8794

View file

@ -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