Last active
December 11, 2015 14:48
-
-
Save daxxog/4616701 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/mongod-repset.conf | |
#upstart service for mongod replica set | |
description "MongoDB Replica Set" | |
author "daXXog <[email protected]>" | |
# When to start the service | |
start on runlevel [2345] | |
# When to stop the service | |
stop on runlevel [016] | |
# Start the process | |
exec mongod-repset-auto.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment