Is your feature request related to a problem? Please describe.
The current Watchtower implementation results in Synology containers reporting unexpected stop:
Refer to the discussion and a possible solution via Synology API here: containrrr#1425 (comment)
Describe the solution you'd like
In the provided link containrrr#1425 (comment) I have managed to created a simple bash-script talking to the synology API, which will result in a graceful stop of the container without notifications. I could just not figure out how the life-cycle hooks work to pass on the container name. I thought I could do this in the pre-update to call the script, stop the container and then watchtower will just take over.
Describe alternatives you've considered
Could not find any other than disabling notifications entirely.
Additional context
No response
Is your feature request related to a problem? Please describe.
The current Watchtower implementation results in Synology containers reporting unexpected stop:
Refer to the discussion and a possible solution via Synology API here: containrrr#1425 (comment)
Describe the solution you'd like
In the provided link containrrr#1425 (comment) I have managed to created a simple bash-script talking to the synology API, which will result in a graceful stop of the container without notifications. I could just not figure out how the life-cycle hooks work to pass on the container name. I thought I could do this in the pre-update to call the script, stop the container and then watchtower will just take over.
Describe alternatives you've considered
Could not find any other than disabling notifications entirely.
Additional context
No response