diff options
Diffstat (limited to 'bin/ak-log-rotate')
-rwxr-xr-x | bin/ak-log-rotate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-log-rotate b/bin/ak-log-rotate index 7bfee72..ddf8f84 100755 --- a/bin/ak-log-rotate +++ b/bin/ak-log-rotate @@ -1,6 +1,6 @@ #!/bin/bash -tar cvfz $AK_ARCHIVESDIR/logs_$(date -u +%s).tar.gz $AK_WORKDIR/akd.log $AK_WORKDIR/akd.err $AK_WORKDIR/logs +tar cvfz $AK_ARCHIVESDIR/logs_$(date -u +%s).tar.gz $AK_WORKDIR/logs cat /dev/null > $AK_WORKDIR/akd.log cat /dev/null > $AK_WORKDIR/akd.err |