Created
March 26, 2014 16:32
-
-
Save amagura/9787448 to your computer and use it in GitHub Desktop.
mongos.conf - upstart job for Mongos Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/init/mongos.conf | |
description "service file for mongos server" | |
author "Alexej Magura" | |
limit nofile 20000 20000 | |
kill timeout 300 # wait 300s between SIGTERM and SIGKILL | |
expect daemon | |
start on (local-filesystems and net-device-up IFACE=eth0) | |
stop on runlevel [016] | |
exec /usr/bin/mongos --config /etc/mongodb.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment