0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

SERVER-29040 Remove deprecated argument in rpm systemd service file

This commit is contained in:
Brian Samek 2017-05-02 15:44:13 -04:00
parent 347bef0937
commit bc91679271

View File

@ -7,7 +7,7 @@ Documentation=https://docs.mongodb.org/manual
User=mongod
Group=mongod
Environment="OPTIONS=--quiet -f /etc/mongod.conf"
ExecStart=/usr/bin/mongod $OPTIONS run
ExecStart=/usr/bin/mongod $OPTIONS
ExecStartPre=/usr/bin/mkdir -p /var/run/mongodb
ExecStartPre=/usr/bin/chown mongod:mongod /var/run/mongodb
ExecStartPre=/usr/bin/chmod 0755 /var/run/mongodb