Respawn is for daemons.
Sounds like you are not really looking for restarting the service, but waiting with the start until the network is up. There are a few services like that. Search the forum e.g. for "ubus wait" E.g.
Or your script might first sleep for a few seconds.