SERVER-76179 Add RuntimeDirectory to mongod.service for RPM
This commit is contained in:
parent
98a7aa94f7
commit
e968d9507a
@ -332,6 +332,7 @@ def test_install_is_complete(test_args: TestArgs):
|
||||
|
||||
required_dirs = [
|
||||
pathlib.Path('/run/mongodb'),
|
||||
pathlib.Path('/var/run/mongodb'),
|
||||
pathlib.Path(test_args['mongo_work_dir']),
|
||||
] # type: List[pathlib.Path]
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user