Skip to content

Commit 9613b9c

Browse files
committed
fix startup script
1 parent 55cc1a3 commit 9613b9c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

start.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ unclutter -idle 0 &
66

77
xset -display :0.0 dpms force on; xset -display :0.0 -dpms
88

9-
cd ~/homeboard/ && git reset HEAD --hard
9+
cd ~/homeboard/ && git fetch origin master
10+
cd ~/homeboard/ && git reset --hard origin/master
1011
cd ~/homeboard/ && git pull --no-edit https://github.com/blanck/homeboard.git
12+
1113
# npm install
1214
sleep 1
1315
cd ~/homeboard/ && npm run build-prod
1416
sleep 5
1517
pm2 restart server
16-
#pm2 restart "npm run dev"
18+
# pm2 restart "npm run dev"
1719
sleep 30
1820
chromium-browser --kiosk --start-fullscreen --app=http://localhost:8080 &

0 commit comments

Comments
 (0)