Skip to content
Snippets Groups Projects
Commit 2b920d2e authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Debian: fix logrotate rules

Pass instance name to tarantoolctl, for .log.1 logs the
file extension was not truncated.
parent ecd9c92c
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
delaycompress
create 0640 tarantool adm
postrotate
/usr/bin/tarantool /usr/bin/tarantoolctl logrotate `basename $1 .log`
/usr/bin/tarantool /usr/bin/tarantoolctl logrotate `basename ${1%%.*}`
endscript
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment