Actions
Bug #8700
closedEL7 mongod.service typo in unit file
Description
Hi,
i version 2.0.0 there is a typo in the MongoDB unit
This is the installed unit, the PIDFile Path is incorrect , this causes the installer to fail.
[Unit] Description=High-performance, schema-free document-oriented database After=syslog.target network.target [Service] Type=forking User=mongodb PIDFile=/var/run/mongodb/mongod.pid EnvironmentFile=/etc/sysconfig/mongod ExecStart=/usr/bin/mongod $OPTIONS run PrivateTmp=true LimitNOFILE=64000 [Install] WantedBy=multi-user.target
the correct unit changing mongod.pid to mongodb.pid and it works
[Unit] Description=High-performance, schema-free document-oriented database After=syslog.target network.target [Service] Type=forking User=mongodb PIDFile=/var/run/mongodb/mongodb.pid EnvironmentFile=/etc/sysconfig/mongod ExecStart=/usr/bin/mongod $OPTIONS run PrivateTmp=true LimitNOFILE=64000 [Install] WantedBy=multi-user.target
Actions