elk upstart tweaking

This commit is contained in:
Marco Ochse 2016-02-08 23:23:42 +01:00
parent 0f1b6fc765
commit f4d10179fc

View file

@ -2,7 +2,7 @@
# T-Pot #
# ELK upstart script #
# #
# v0.04 by mo, DTAG, 2015-12-08 #
# v16.03.3 by mo, DTAG, 2016-02-08 #
########################################################
description "ELK"
@ -18,10 +18,9 @@ pre-start script
fi
end script
script
# Delayed start to avoid rapid respawning
sleep $(((RANDOM % 5)+5))
/usr/bin/docker run --name=elk -v /data:/data -p 127.0.0.1:64296:8080 --rm=true dtagdevsec/elk:latest1603
end script
post-start script
# Delay next start to avoid rapid respawning
sleep $(((RANDOM % 5)+5))
end script