summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2016-06-24 12:50:18 -0400
committerErnie Hershey <ernie.hershey@10gen.com>2016-07-13 13:04:55 -0400
commitef8159474d3871307cdfcf70e72e759d123cfa61 (patch)
tree1a643e21805de8aeda8105a6f59e2347d2fbd6f4
parent2357940da1f074277c6f3baaf3a9f9cd23915345 (diff)
downloadmongo-ef8159474d3871307cdfcf70e72e759d123cfa61.tar.gz
SERVER-23830 Remove hardcoded pidfile path in init script header
This is a small change, the only affect of which is that systemd's sysvinit compatibility implementation stops assuming this value for the pidfile on rhel 7 and detects the pid automatically. For SUSE, there's a separate init.d script. For non-systemd systems, the init script parses mongod.conf for the pidfile. (cherry picked from commit b68339f58d1168569ac46e8749429dd26e73748f)
-rwxr-xr-xrpm/init.d-mongod1
1 files changed, 0 insertions, 1 deletions
diff --git a/rpm/init.d-mongod b/rpm/init.d-mongod
index 7ddff0be2eb..76a19cebdac 100755
--- a/rpm/init.d-mongod
+++ b/rpm/init.d-mongod
@@ -6,7 +6,6 @@
# description: Mongo is a scalable, document-oriented database.
# processname: mongod
# config: /etc/mongod.conf
-# pidfile: /var/run/mongodb/mongod.pid
. /etc/rc.d/init.d/functions