Skip to content

Instantly share code, notes, and snippets.

@daxxog
Last active December 11, 2015 14:48
Show Gist options
  • Save daxxog/4616701 to your computer and use it in GitHub Desktop.
Save daxxog/4616701 to your computer and use it in GitHub Desktop.
#/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