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

Update mongodb.service

This commit is contained in:
A Holt 2018-07-17 12:51:55 -04:00 committed by GitHub
parent 1a6d3dd8fd
commit 4e0fc10017
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,9 @@ After=syslog.target network.target
Type=simple
User=mongodb
Group=mongodb
ExecStartPre=/usr/bin/mongod --repair --dbpath {{ mongodb_db_path }}
ExecStart=/usr/bin/mongod -f /etc/mongod.conf
ExecStop=/usr/bin/killall mongod
[Install]
WantedBy=multi-user.target