1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #945 from iiab/revert-943-mongodb-unit-file-for-now

Revert "Comment out "mongod --repair" as interim workaround to #942 [MongoDB/Sugarizer]"
This commit is contained in:
A Holt 2018-07-22 11:43:59 -04:00 committed by GitHub
commit 53c9f57720
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ After=syslog.target network.target
Type=simple
User=mongodb
Group=mongodb
#ExecStartPre=/usr/bin/mongod --repair --dbpath {{ mongodb_db_path }}
ExecStartPre=/usr/bin/mongod --repair --dbpath {{ mongodb_db_path }}
ExecStart=/usr/bin/mongod -f {{ mongodb_conf }}
ExecStop=/usr/bin/killall mongod