fix logrotate config, fix version

This commit is contained in:
t3chn0m4g3
2023-12-07 18:44:24 +01:00
parent cf91caaf8c
commit 406a7314ee
2 changed files with 4 additions and 5 deletions

View File

@ -20,8 +20,8 @@ echo $(ls $myFOLDER | wc -l)
# Let's create a function to rotate and compress logs
fuLOGROTATE () {
local mySTATUS="/data/tpot/etc/logrotate/status"
local myCONF="/data/tpot/etc/logrotate/logrotate.conf"
local mySTATUS="/opt/tpot/etc/logrotate/status"
local myCONF="/opt/tpot/etc/logrotate/logrotate.conf"
local myADBHONEYTGZ="/data/adbhoney/downloads.tgz"
local myADBHONEYDL="/data/adbhoney/downloads/"
local myCOWRIETTYLOGS="/data/cowrie/log/tty/"