Fix bug that will make mongod dead
This commit is contained in:
parent
3000c51151
commit
19d7fa6ee1
|
@ -199,7 +199,7 @@ $ sudo logrotate -d /etc/logrotate.conf # 確認系統是否有使用 /etc/logro
|
|||
compress
|
||||
missingok
|
||||
notifempty
|
||||
create 644 rulingcom rulingcom
|
||||
create 644 mongodb mongodb
|
||||
postrotate
|
||||
[ ! -f /var/lib/mongodb/mongod.lock ] || kill -SIGUSR1 `cat /var/lib/mongodb/mongod.lock`
|
||||
endscript
|
||||
|
|
Loading…
Reference in New Issue