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-11-30 14:15:16 -0500
commit3607059cd791b273ccaefd879d765dcd9365ebd6 (patch)
treedc9fecb15eaeb507b85cf1c1d25b98bb36816f3f /rpm
parent0ac16524737f8331c8a116d15275975060dcb248 (diff)
downloadmongo-3607059cd791b273ccaefd879d765dcd9365ebd6.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