Retry after cancellation

Hi, in this tutorial, the exit status was either 0 to proceed or 21 for retry later. How can the user himself perform a retry at any time he prefers?

Here, we could specify exact time after retry. But I want to be more flexible with it

The state-scripts have a pretty long window, in which they can run. This means that the script itself could halt, waiting for user input. And then given a certain user input, return 21 to the Mender client, which will then retry the script at a user defined interval.

Hi @oleorhagen, can you elaborate a bit ?

What I am talking about is esentially what is described here:

In which a state-script can be used to request the user for confirmation, I think this is basically what you are looking for from your description.