mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
16 lines
265 B
Plaintext
16 lines
265 B
Plaintext
/var/log/@DAEMON@/@DAEMON@*.log {
|
|
rotate 20
|
|
size 20M
|
|
compress
|
|
missingok
|
|
sharedscripts
|
|
nocreate
|
|
delaycompress
|
|
postrotate
|
|
PROGRAM=@DAEMON@
|
|
PIDDIR=/var/run/$PROGRAM
|
|
PIDFILE=$PIDDIR/$PROGRAM.pid
|
|
[ -f "$PIDFILE" ] && kill -s USR1 `cat $PIDFILE`
|
|
endscript
|
|
}
|