Monitoring PIAware status?

I modified the fadumo1090.sh and piaware files and when I check status it says that the faup1090 is not running and the piaware is not running, see below:

pi@piaware ~ $ sudo piaware-status
dump1090 is running.
faup1090 is not running.
piaware is not running.
dump1090 is listening for connections on port 30005.
dump1090 is listening for connections on port 10001.
piaware is NOT connected to port 10001.
piaware is NOT connected to FlightAware.
dump1090 is producing data on port 10001.
dump1090 is producing data on port 30005.

I modified the file and placed the new code near the end not knowing where exactly it should go as shown below:

pi@piaware /etc/init.d $ cat piaware.work
#!/bin/bash

BEGIN INIT INFO

Provides: piaware

Required-Start: $network $remote_fs $syslog $time

Required-Stop: $network $remote_fs $syslog

Default-Start: 2 3 4 5

Default-Stop: 0 1 6

Short-Description: Communicate ADS-B data to FlightAware

Description: piaware is a way to connect a homebrew Raspberry Pi-based

ADS-B receiver running dump1090 over a TLS connection to

forward ADS-B data to FlightAware

END INIT INFO

. /lib/lsb/init-functions

DAEMON=/usr/bin/piaware
PIDFILE=/var/run/piaware.pid

test -x $DAEMON || exit 5

LOCKFILE=/var/lock/piaware

start() {
log_daemon_msg “Starting piaware server” “piaware”

–quiet

/sbin/start-stop-daemon --start --oknodo --background --pidfile $PIDFILE --exec $DAEMON -- -p $PIDFILE
status=$?
log_end_msg $status
return

}

stop() {
log_daemon_msg “Stopping piaware server” “piaware”
/sbin/start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
log_end_msg $?
rm -f $PIDFILE
return
}

status() {
/usr/bin/piaware-config -status
}

case “$1” in
start)
start
;;
stop)
stop
;;
status)
status
;;
restart|force-reload)
stop && sleep 2 && start
;;
reload)
exit 3
;;
status)
status_of_proc $DAEMON “piaware server”
;;
*)

check process piaware with pidfile /var/run/piaware.pid
start program = “/etc/init.d/piaware start”
stop program = “/etc/init.d/piaware stop”
if 5 restarts with 5 cycles then timeout

check file piaware.out with path /tmp/piaware.out
if timestamp >10 minutes then exec “/etc/init.d/piaware restart”

check process dump1090 with pidfile /var/run/dump1090
start program = “etc/init.d/fadump1090.sh start”
stop program = “/etc/init.d/fadump1090.sh stop”
if 5 restarts with 5 cycles then timeout
if failed host localhost port 8080 with protocol http and request “/” with timeout 5 seconds for 4 times within 5 cycles then restart
if failed host localhost port 199 type tcp then restart

    echo "Usage: $0 {start|stop|restart|try-restart|force-reload|status}"
    exit 2
    ;;

esac

After making the changes I ran the pi@piaware ~ $ less /tmp/piaware.out command and it came back stating that no log file can be found.

Any help is greatly appreciated!