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