mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
Use start-stop-daemon in upstart init script.
This commit is contained in:
parent
fa4eddeba7
commit
6ebe1c9532
3
debian/mongodb.upstart
vendored
3
debian/mongodb.upstart
vendored
@ -8,4 +8,5 @@ end script
|
||||
start on runlevel [2345]
|
||||
stop on runlevel [06]
|
||||
|
||||
exec su -c "/usr/bin/mongod --config /etc/mongodb.conf" -s "/bin/sh" mongodb
|
||||
exec start-stop-daemon --start --quiet --chuid mongodb --exec /usr/bin/mongod -- --config /etc/mongodb.conf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user