Created
March 6, 2014 20:26
-
-
Save cpuguy83/9398917 to your computer and use it in GitHub Desktop.
docker upstart integration stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "Mail" | |
start on started docker | |
stop on runlevel [!2345] or stopping docker | |
respawn | |
respawn limit 5 5 | |
script | |
/usr/bin/docker start -a mail | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment