Is your feature request related to a problem? Please describe.
I am using this awesome image (thanks by the way) to backup the volumes of my mailserver. Therefore the mailserver is stopped each time a volume is backed up, which results in 6 restarts everyday. Since resarting all the services takes a lot of resources, I would love to keep the server stopped until all backups are finished.
Describe the solution you'd like
Maybe instead of using a lock, one can use a semaphore and restart the services once all the backups finished. To ensure compatibility I would suggest to activate this feature using an env var.
Describe alternatives you've considered
None
Additional context
I am happy to create a PR to solve this. But I wanted to check upfront, if you agree with this feature request before starting to work on it.