run_daemon_rfid_fake.sh 268 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 #!/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin export DISPLAY=:0.0 cd $(dirname "$0") while [ 1 ] ; do npm start >> log_std.txt 2>&1 echo "Restart at " $( date +"%m/%d/%Y %H:%M:%S $HOSTNAME") >> log_restart.txt sleep 10 done