Skip to content

Instantly share code, notes, and snippets.

@cpuguy83
Created March 6, 2014 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpuguy83/9398917 to your computer and use it in GitHub Desktop.
Save cpuguy83/9398917 to your computer and use it in GitHub Desktop.
docker upstart integration stuff
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