mongodb: Initial version of role

This commit is contained in:
Timo Makinen 2022-02-03 21:19:31 +00:00
parent c7e0822900
commit 2cefd6d50d
5 changed files with 144 additions and 0 deletions

View 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
}