I have a snap service defined with refresh-mode
set to endure
, install-mode
is set to disable
and daemon
is set to simple
. However on refresh the stop-command
is getting executed. In service journal it says Stopping Service for snap application mysnap.myservice
.
How do I make sure the stop-command
is never executed on refresh to ensure zero downtime of the service?
AFAICT the log will always show, but the service should not be restarted. Do you see it being restarted?