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-17 18:49:13 +0000
commit74e04c5444bdcea243c1328ce0ae5cb969bf7003 (patch)
tree329b1e87b265dd64dabb8cbd86f15c0303df200b
parent2c6f59b45bda42dc323c5f1cab8dd36da96c1783 (diff)
downloadmongo-74e04c5444bdcea243c1328ce0ae5cb969bf7003.tar.gz
SERVER-76179 Add RuntimeDirectory to mongod.service for RPM
(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