summaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
authorBrian Samek <brian.samek@mongodb.com>2017-05-02 15:44:13 -0400
committerBrian Samek <brian.samek@mongodb.com>2017-05-02 17:04:32 -0400
commitbc91679271a98bfafcc173c8ab0249930d4c49e6 (patch)
treeb4b2da254f5ff77a8959b8b850641eafc2be8aae /rpm
parent347bef09378ebbed35b1ebd36ffd547029313583 (diff)
downloadmongo-bc91679271a98bfafcc173c8ab0249930d4c49e6.tar.gz
SERVER-29040 Remove deprecated argument in rpm systemd service file
Diffstat (limited to 'rpm')
-rw-r--r--rpm/mongod.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/mongod.service b/rpm/mongod.service
index b5b6a0eb040..ed57051461a 100644
--- a/rpm/mongod.service
+++ b/rpm/mongod.service
@@ -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