Sujet : Re: Delaying Autostart
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.sys.raspberry-piDate : 02. Jun 2025, 02:10:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <101itmk$2mr8t$1@dont-email.me>
References : 1
User-Agent : Pan/0.162 (Pokrosvk)
On Sun, 1 Jun 2025 07:08:34 +0100, DrStevenStrange wrote:
chromium = /usr/bin/chromium-browser --start-fullscreen
--start-maximized --kiosk --hide-scrollbars --noerrdialogs
--disable-default-apps --disable-single-click-autofill
--disable-translate-new-ux --disable-translate --disable-cache
--disk-cache-dir=/dev/null --disk-cache-size=1
--reduce-security-for-testing --app=http:///127.0.0.1:3030&kiosk
This works perfectly - however when I first boot Grafana takes a
little while to start up and for the first minute or so I get a
"Site Not Found Page" which eventually clears and Grafana is shown.
Instead of waiting for some fixed interval, you could add a prior command
using wget or something to repeatedly try accessing that URL, say at 5
second intervals or whatever, until it becomes accessible, before allowing
the startup to proceed.