mongodb: Initial version of role
This commit is contained in:
parent
c7e0822900
commit
2cefd6d50d
5 changed files with 144 additions and 0 deletions
7
roles/mongodb/files/mongod.logrotate
Normal file
7
roles/mongodb/files/mongod.logrotate
Normal file
|
@ -0,0 +1,7 @@
|
|||
/var/log/mongodb/mongod.log
|
||||
missingok
|
||||
create 0640 mongod mongod
|
||||
postrotate
|
||||
/usr/bin/systemctl kill -s SIGUSR1 mongod.service >/dev/null 2>&1 || true
|
||||
endscript
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue