mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 11:18:51 +00:00
need to delete all log files
This commit is contained in:
parent
f130fe6a7e
commit
f64c84930a
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
# T-Pot #
|
||||
# ELK upstart script #
|
||||
# #
|
||||
# v16.03.5 by mo, DTAG, 2016-03-10 #
|
||||
# v16.03.6 by mo, DTAG, 2016-03-11 #
|
||||
########################################################
|
||||
|
||||
description "ELK"
|
||||
|
@ -18,7 +18,7 @@ pre-start script
|
|||
fi
|
||||
# ELK data will be kept for <= 90 days, check /etc/crontab for curator modification
|
||||
# ELK daemon log files will be removed
|
||||
rm -rf /data/elk/log/elasticsearch.log.* || true
|
||||
rm -rf /data/elk/log/* || true
|
||||
end script
|
||||
script
|
||||
/usr/bin/docker run --name=elk -v /data:/data -p 127.0.0.1:64296:8080 --rm=true dtagdevsec/elk:latest1603
|
||||
|
|
Loading…
Reference in a new issue