ansible-role-mongodb/files/mongodb.service
Dariusz Łuksza 6d856b9c68 Use proper Mongo configuration file
In tasks/install.yml configuration template file is copied to /etc/mongod.conf. This means that modifications to Mongo configuration are not applied.
2015-07-19 21:25:00 +02:00

11 lines
198 B
Desktop File

[Unit]
Description=An object/document-oriented database
Documentation=man:mongod(1)
[Service]
User=mongodb
ExecStart=/usr/bin/mongod --config /etc/mongod.conf
[Install]
WantedBy=multi-user.target