Kitchen-Radio/start.sh
Gerrit Linnemann 39d27cec24 URLs changed
2017-11-10 13:54:13 +01:00

15 lines
294 B
Bash

#!/bin/sh
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 5
while true; do
/usr/bin/midori -e Fullscreen -a http://localhost:3000
done