State script on app/container updates


I understand the concept and use of the state script.
However, the documentation is not clear as if it is only applied for rootfs stile update, or can it be used for lighter updates such as container or app updates?

Thank you

hi @zivkapl,

State scripts can be used for every kind of artifact. The only relevant distinction is between those that are permanently available on the active root filesystem, such as the Idle_Enter state scripts, and those that are shipped with an artifact, like ArtifactInstall_Enter.