Fix logrotate bug.
This commit is contained in:
parent
e099475a48
commit
e5a70ec01c
|
@ -29,7 +29,7 @@
|
||||||
compress
|
compress
|
||||||
missingok
|
missingok
|
||||||
notifempty
|
notifempty
|
||||||
copytruncate
|
create 644 mongodb mongodb
|
||||||
postrotate
|
postrotate
|
||||||
[ ! -f /var/lib/mongodb/mongod.lock ] || kill -USR1 `cat /var/lib/mongodb/mongod.lock`
|
[ ! -f /var/lib/mongodb/mongod.lock ] || kill -USR1 `cat /var/lib/mongodb/mongod.lock`
|
||||||
endscript
|
endscript
|
||||||
|
|
Loading…
Reference in New Issue