Fix bug that will make mongod dead

This commit is contained in:
chiu 2020-06-10 15:29:46 +08:00
parent 3000c51151
commit 19d7fa6ee1
1 changed files with 1 additions and 1 deletions

View File

@ -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