Gateway startup script - add a parameter with the reason of execution
l
lionel MAZEYRAT
Since Ignition 8.1.18, gateway startup script is executed:
each time the gateway master or backup became active (before 8.1.18, only the first node becoming active)
each time shared script lib are saved
It would be usefull if we could have an information to know the resaon of the startup.
For example to avoid to re-execute some traits in the startup script (or all the startup script) if the cause is "shared script lib are saved" which can occur very frequently during development.
We can't achieve this by storing a memory flag "startup-done" with system.util.getGlobals() because we wiuld have to reset it on gateway restart or gateway failover.
Log In