Our device performs some operations where we limit network traffic to a minimum, and that traffic is managed by these specific operations. These operations are initiated by users, and may occur at any time.
I don’t believe state scripts will work, as the download may already be in progress when the user initiates an operation.
Is there any issue with just stopping the service in the middle of a download and resuming when the operation is complete? This seems like it would typically work since mender resumes downloads due to other scenarios(poor connectivity/power loss etc.) but I am wondering if there is a better way.
If shutting down the service is the normal approach, would it also be a good idea to explicitly send inventory periodically? These operations may take hours once started and the device would not check in
with the service shut down.