Created
February 24, 2015 08:37
-
-
Save yuuichi-fujioka/f649ab57608a807d6010 to your computer and use it in GitHub Desktop.
docker container with upstart
This file contains hidden or 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 "Redis container" | |
author "Me" | |
start on filesystem and started docker | |
stop on runlevel [!2345] | |
respawn | |
script | |
/usr/bin/docker start -a ${container name} | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment