summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neben <alexander.neben@mongodb.com>2023-05-04 00:03:45 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-04 15:20:22 +0000
commit58e64eeac698a4cbc5e7210ffa7aacd2e9a2b931 (patch)
treec5f29b40dcf6a08a563672fd27c99ddb9c5c9da7
parent851880fa64e52deeb7f46690572d3e5953fd7d77 (diff)
downloadmongo-r5.0.18-rc1.tar.gz
SERVER-76179 Add RuntimeDirectory to mongod.service for RPMr5.0.18-rc1
(cherry picked from commit e968d9507a2d038004de32250ea62edaa627d39e)
-rw-r--r--rpm/mongod.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpm/mongod.service b/rpm/mongod.service
index 81059df8343..8d4a4c4142c 100644
--- a/rpm/mongod.service
+++ b/rpm/mongod.service
@@ -11,6 +11,7 @@ Environment="OPTIONS=-f /etc/mongod.conf"
Environment="MONGODB_CONFIG_OVERRIDE_NOFORK=1"
EnvironmentFile=-/etc/sysconfig/mongod
ExecStart=/usr/bin/mongod $OPTIONS
+RuntimeDirectory=mongodb
# file size
LimitFSIZE=infinity
# cpu time