fix volume bug & script

This commit is contained in:
t3chn0m4g3
2015-08-07 23:45:50 +02:00
parent 2c1d7ceae7
commit 94b1dda16f
11 changed files with 65 additions and 11 deletions

View File

@ -4,7 +4,7 @@
# T-Pot Community Edition #
# Check container and services script #
# #
# v0.13 by mo, DTAG, 2015-06-12 #
# v0.14 by mo, DTAG, 2015-08-07 #
########################################################
if [ -a /var/run/check.lock ];
then exit

View File

@ -4,7 +4,7 @@
# T-Pot Community Edition #
# Container and services restart script #
# #
# v0.13 by mo, DTAG, 2015-02-19 #
# v0.14 by mo, DTAG, 2015-08-07 #
########################################################
if [ -a /var/run/check.lock ];

View File

@ -9,7 +9,7 @@
myCOUNT=1
myIMAGES=$(cat /data/images.conf)
while true
do
do
if ! [ -a /var/run/check.lock ];
then break
fi
@ -33,7 +33,7 @@ echo "****************** $(date) ******************"
echo
echo
for i in $myIMAGES
do
do
echo
echo "======| Container:" $i "|======"
docker exec $i supervisorctl status | GREP_COLORS='mt=01;32' egrep --color=always "(RUNNING)|$" | GREP_COLORS='mt=01;31' egrep --color=always "(STOPPED|FATAL)|$"

View File

@ -2,7 +2,7 @@
# T-Pot Community Edition #
# Dionaea upstart script #
# #
# v0.50 by mo, DTAG, 2015-01-27 #
# v0.51 by mo, DTAG, 2015-08-07 #
########################################################
description "Dionaea"

View File

@ -2,7 +2,7 @@
# T-Pot Community Edition #
# ELK upstart script #
# #
# v0.52 by mo, DTAG, 2015-02-20 #
# v0.53 by mo, DTAG, 2015-08-07 #
########################################################
description "ELK"

View File

@ -2,7 +2,7 @@
# T-Pot Community Edition #
# EWS upstart script #
# #
# v0.51 by mo, DTAG, 2015-01-28 #
# v0.52 by mo, DTAG, 2015-08-07 #
########################################################
description "EWS"

View File

@ -2,7 +2,7 @@
# T-Pot Community Edition #
# Glastopf upstart script #
# #
# v0.50 by mo, DTAG, 2015-01-27 #
# v0.51 by mo, DTAG, 2015-08-07 #
########################################################
description "Glastopf"

View File

@ -2,7 +2,7 @@
# T-Pot Community Edition #
# Honeytrap upstart script #
# #
# v0.50 by mo, DTAG, 2015-01-27 #
# v0.51 by mo, DTAG, 2015-08-07 #
########################################################
description "Honeytrap"

View File

@ -2,7 +2,7 @@
# T-Pot Community Edition #
# Kippo upstart script #
# #
# v0.50 by mo, DTAG, 2015-01-27 #
# v0.51 by mo, DTAG, 2015-08-07 #
########################################################
description "Kippo"

View File

@ -2,7 +2,7 @@
# T-Pot Community Edition #
# Suricata upstart script #
# #
# v0.50 by mo, DTAG, 2015-01-27 #
# v0.51 by mo, DTAG, 2015-08-07 #
########################################################
description "Suricata"