SERVER-31225 Add Type=forking to systemd service files
This commit is contained in:
parent
0ac1652473
commit
3607059cd7
2
debian/mongod.service
vendored
2
debian/mongod.service
vendored
@ -7,6 +7,8 @@ Documentation=https://docs.mongodb.org/manual
|
||||
User=mongodb
|
||||
Group=mongodb
|
||||
ExecStart=/usr/bin/mongod --config /etc/mongod.conf
|
||||
PIDFile=/var/run/mongodb/mongod.pid
|
||||
Type=forking
|
||||
# file size
|
||||
LimitFSIZE=infinity
|
||||
# cpu time
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user