mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
need to delete all log files
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user