From c4a6361eaa5c5e3b7a066fd874a9fcc3f53c050b Mon Sep 17 00:00:00 2001 From: Gerrit Linnemann Date: Fri, 29 Jan 2016 13:48:26 +0100 Subject: [PATCH] Start script edit: quit running servers --- start.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/start.sh b/start.sh index 9bb5580..96f8c1b 100644 --- a/start.sh +++ b/start.sh @@ -4,9 +4,12 @@ unclutter & #matchbox-window-manager & : xset -dpms xset s off + +pm2 stop all ; pm2 delete all cd /opt/radio/kitchenradio/ /opt/node/bin/pm2 start /opt/radio/kitchenradio/bin/www --name KitchenRadio sleep 12 + while true; do /usr/bin/midori -e Fullscreen -a http://localhost:3000 done \ No newline at end of file