path: smokeping_2.8.2+ds-2/debian/init.d log_daemon_msg "Checking $DESC status" $NAME # Use pidofproc to check the status of the service, # pidofproc returns the exit status code of 0 when it the process is # running. path: smokeping_2.8.2+ds-2/debian/init.d set +e pidofproc -p "$PIDFILE" "$DAEMON" > /dev/null STATUS=$? log_progress_msg "(status $STATUS)" path: smokeping_2.8.2+ds-2/debian/init.d check_slave set +e pidofproc -p "$PIDFILE" "$DAEMON" > /dev/null STATUS=$? set -e path: smokeping_2.8.2+ds-2/debian/init.d status) log_daemon_msg "Checking $DESC status" $NAME # Use pidofproc to check the status of the service, # pidofproc returns the exit status code of 0 when it the process is # running.