Ernie Hershey
65be70d436
SERVER-15114 Remove misleading init script comment
2014-09-02 16:40:03 -04:00
Benety Goh
a8d7c7b855
SERVER-9253 added pid_file argument to mongo_killproc. New usage: mongo_killproc pid_file procname
2014-08-20 15:09:46 -04:00
Alexis Midon
fb1e82a243
SERVER-9253 fixed init.d/mongod so that it does not sleep for 5 minutes unnecessarily.
...
In some version of Linux, killproc() provided in /etc/init.d/functions has a bug
where it will sleep the full duration of the delay (-d).
Closes #411
Signed-off-by: Benety Goh <benety@mongodb.com>
2014-08-20 12:06:34 -04:00
Markus W. Mahlberg
50ca596ace
SERVER-14679 fixed init.d script to create directory for pid file
...
Startup scripts not fit for CentOS 7 / RHEL 7
Default location for pid file is under /var/run/mongodb. /var/run can be mounted
on a temporary filesystem so the pid file directory is
not guaranteed to persist across reboots.
Closes #723
Signed-off-by: Benety Goh <benety@mongodb.com>
2014-07-31 11:54:33 -04:00
Ernie Hershey
0b9d98ce36
SERVER-14247 Use PIDFILEPATH variable instead of missing PIDFILE
2014-06-13 10:03:39 -04:00
Ernie Hershey
5368b37512
SERVER-13595 Adjust rpm init script awk line to read new yaml config file format
2014-05-13 17:55:10 -04:00
Ernie Hershey
8298b133ed
SERVER-13016 Change rpm username from mongodb to mongod
2014-03-04 16:23:13 -05:00
Ernie Hershey
8e310d6978
SERVER-9183 redirect startup output to /dev/null in redhat init script
2013-12-11 14:24:00 -05:00
Ernie Hershey
1b4c5d4f2c
SERVER-10931 set ulimits in init scripts to match documentation
...
This sets resource limits across all Linux packages to match our
recommended settings -
http://docs.mongodb.org/manual/reference/ulimit/#recommended-settings
2013-11-19 16:02:08 -05:00
Ernie Hershey
ba2dde72a0
SERVER-7708 Use pid file under /var/run/mongodb in rpm
2013-10-12 18:20:01 -04:00
Ernie Hershey
ef582b64cb
SERVER-3579 Change redhat username and group from mongod to mongodb
2013-10-04 13:25:27 -04:00
Ernie Hershey
63e2213755
SERVER-9252 use [[:blank:]] instead of \s
2013-09-11 16:26:59 -04:00
Alexis Midon
5b762d52cc
SERVER-9252 use the correct config key for pid file
2013-09-11 16:20:16 -04:00
Mike Fiedler
04de9098bb
SERVER-3574 updating init scripts for numa
2012-02-28 12:10:49 -05:00
Mike Fiedler
3829adb0ec
SERVER-2267 correcting the pidfile usage on RPM-based packages
2012-02-17 09:31:04 -08:00
Richard Kreuter
d0027e0028
Do a better job stopping mongod from RPM init script. SERVER-3824
2011-12-01 18:16:58 -05:00
Richard Kreuter
95a7bcb172
SERVER-3142, part 1
...
Kind of a hack, for compatibility w/1.8 (and because I don't have
time to test the new --shutdown flag everywhere).
2011-06-23 17:41:59 -04:00
Richard Kreuter
d039110cb7
Fix typo in RPM init script.
2010-12-15 13:23:11 -05:00
Richard Kreuter
892a22331a
RH initscript "status" action: exit non-zero if mongod isn't there. SERVER-1895
2010-11-02 11:15:57 -04:00
Richard Kreuter
7d76c5e6b3
Aesthetic change to old RedHat sysv init script.
2010-06-01 16:16:02 -04:00
Richard Kreuter
5476c8a13e
Fix typo in rpm init script. SERVER-575
2010-03-16 15:13:57 -04:00
Richard Kreuter
2b7eb10215
Improve RPM packaging, init scripts. SERVER-575, SERVER-576 .
2010-03-16 10:06:36 -04:00
Eliot Horowitz
39b64ce9f3
initial stab at rpm files SERVER-396
2009-12-03 14:20:35 -05:00