Created
May 1, 2014 10:48
-
-
Save h4cc/9fe9ebf88ae7ef772b4b to your computer and use it in GitHub Desktop.
Commands needed to stop and restart all services in a Graylog2 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
# Stop all services in needed order. | |
service graylog2-web stop; service graylog2-server stop; service elasticsearch stop; service mongodb stop; | |
# Start all services in needed order. | |
# - sleep is needed, so ES and Mongo have time to startup. | |
service elasticsearch start; service mongodb start; sleep 5; service graylog2-server start; service graylog2-web start; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment