Created
July 18, 2014 15:38
-
-
Save tad-lispy/e8b46f8cdb67dafa33c7 to your computer and use it in GitHub Desktop.
Revisions
-
tad-lispy created this gist
Jul 18, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ description "Microserver container" author "Tadeusz Łazurski <[email protected]>" start on filesystem and started docker and started mongo-container stop on runlevel [!2345] respawn exec /usr/bin/docker start -a microserver pre-start exec sleep 30 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ description "Mongo container" author "Tadeusz Łazurski <[email protected]>" start on filesystem and started docker stop on runlevel [!2345] respawn script /usr/bin/docker start -a mongo end script