SERVER-76179 Add RuntimeDirectory to mongod.service for RPM

(cherry picked from commit e968d9507a)
This commit is contained in:
Alexander Neben 2023-05-04 00:03:45 +00:00 committed by Evergreen Agent
parent 2c6f59b45b
commit 74e04c5444
1 changed files with 1 additions and 0 deletions

View File

@ -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