Mercurial > bottledash
diff contrib/dashboardctl @ 35:295e3253bb49
Wait for bottledash to get ready after starting it
author | Gernot Schulz <gernot@intevation.de> |
---|---|
date | Mon, 19 Oct 2015 13:30:30 +0200 |
parents | 7162616389a5 |
children | 1e084c23d101 |
line wrap: on
line diff
--- a/contrib/dashboardctl Mon Oct 19 13:36:37 2015 +0200 +++ b/contrib/dashboardctl Mon Oct 19 13:30:30 2015 +0200 @@ -29,6 +29,7 @@ # taken from start-bottledash-hohup nohup python3 /home/pi/bottledash/dash.py 2>&1 > $BOTTLEDASH_LOG & echo $! > $BOTTLEDASH_PID + sleep 10 } stop_bottledash () { @@ -90,7 +91,6 @@ '--reload') stop_bottledash start_bottledash - sleep 10 xdo_reload_chromium ;; '--check-db')