Fix logrotate bug.

This commit is contained in:
BoHung Chiu 2022-05-24 14:46:05 +08:00
parent e099475a48
commit e5a70ec01c
1 changed files with 1 additions and 1 deletions

View File

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