summaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2017-11-29 18:11:03 -0500
committerMathew Robinson <chasinglogic@gmail.com>2017-12-05 12:10:13 -0500
commit7aa806063d4279a728a65fc9202a3928e36cd6f1 (patch)
tree43845da08588baa3071850eda82f18f90d439584 /rpm
parent54d854fb2f567f639f5f7a28b9c3dfebe52ec85c (diff)
downloadmongo-7aa806063d4279a728a65fc9202a3928e36cd6f1.tar.gz
SERVER-31225 Add Type=forking to systemd service files
Diffstat (limited to 'rpm')
-rw-r--r--rpm/mongod.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpm/mongod.service b/rpm/mongod.service
index f9244debbd5..e4d48d08c1e 100644
--- a/rpm/mongod.service
+++ b/rpm/mongod.service
@@ -13,6 +13,7 @@ ExecStartPre=/usr/bin/chown mongod:mongod /var/run/mongodb
ExecStartPre=/usr/bin/chmod 0755 /var/run/mongodb
PermissionsStartOnly=true
PIDFile=/var/run/mongodb/mongod.pid
+Type=forking
# file size
LimitFSIZE=infinity
# cpu time