run_daemon_rfid_fake.sh 268 Bytes
#!/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