Correct name of rotated tgz files

Added extension .tgz to logrotate.conf, so instead of: bistreams.tgz.1 logrotate create bistreams.1.tgz, also removed executable bit from compressed files.
This commit is contained in:
Burris Grindfuzz 2020-06-11 07:59:09 +00:00 committed by GitHub
parent 0aaf73e205
commit 78bd9248d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@
{
su tpot tpot
copytruncate
create 770 tpot tpot
create 660 tpot tpot
daily
missingok
notifempty
@ -51,9 +51,10 @@
{
su tpot tpot
copytruncate
create 770 tpot tpot
create 660 tpot tpot
daily
missingok
notifempty
rotate 30
addextension .tgz
}