Created
March 31, 2015 14:13
-
-
Save blikenoother/d417c09dbd1a6c8ef933 to your computer and use it in GitHub Desktop.
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
# create file /etc/init/zpanelcp.conf | |
description "ZPanelCP by Infoglans" | |
author "Infoglans" | |
start on filesystem and started docker | |
stop on runlevel [!2345] | |
respawn | |
script | |
/usr/bin/docker start -a zpanelcp | |
end script | |
post-stop script | |
/usr/bin/docker stop -t 2 zpanelcp | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment