Additional behaviour in ArtifactDownload state

mister_kanister
Thu, 16 Nov 2023 10:24:30 +0000
General Discussions

Good Day Friends!

I was wondering if its is possible to implement some custom logic in other states. In my update module with something like:

case "$STATE" in
    ArtifactDownload_Enter)
	touch /root/downloading_enter
	;;
    ArtifactDownload)
	touch /root/downloading
	;;
    ArtifactDownload_Leave)
	touch /root/downloading_leave
	;;

The goal is to report back to our custom app so it can react accordingly

PS: In the age of AI chatbots is there a PDF version of the documentation? Can you release one?

Thanks in advance!

1 post - 1 participant