prepare for T-Pot 16.03

This commit is contained in:
marco
2015-12-08 15:47:39 +01:00
parent 0701b5f2f4
commit f06935fe63
72 changed files with 29029 additions and 459 deletions

View File

@ -1,13 +1,13 @@
########################################################
# T-Pot Community Edition #
# T-Pot #
# Glastopf upstart script #
# #
# v0.53 by mo, DTAG, 2015-11-02 #
# v0.04 by mo, DTAG, 2015-12-08 #
########################################################
description "Glastopf"
author "mo"
start on (started docker and filesystem)
start on started docker and filesystem
stop on runlevel [!2345]
respawn
pre-start script
@ -20,7 +20,7 @@ end script
script
# Delayed start to avoid rapid respawning
sleep $(((RANDOM % 5)+5))
/usr/bin/docker run --name glastopf --rm=true -p 80:80 -v /data/glastopf dtagdevsec/glastopf
/usr/bin/docker run --name glastopf --rm=true -v /data:/data -p 80:80 dtagdevsec/glastopf:latest1603
end script
post-start script
sleep $(((RANDOM % 5)+5))