diff options
author | Ernie Hershey <ernie.hershey@10gen.com> | 2016-06-24 12:50:18 -0400 |
---|---|---|
committer | Ernie Hershey <ernie.hershey@10gen.com> | 2016-07-13 12:45:09 -0400 |
commit | b68339f58d1168569ac46e8749429dd26e73748f (patch) | |
tree | ea6b6ac663506834fc26fdeb0084d6d689250fde /rpm | |
parent | a14e021f686095a1ec1fec41119a2e2f076991b2 (diff) | |
download | mongo-b68339f58d1168569ac46e8749429dd26e73748f.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.
Diffstat (limited to 'rpm')
-rwxr-xr-x | rpm/init.d-mongod | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rpm/init.d-mongod b/rpm/init.d-mongod index cd135c51af6..0c18ac70800 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 |