mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
16 lines
264 B
Plaintext
16 lines
264 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
|
|
}
|