Last active
December 17, 2015 14:19
-
-
Save robertlmullen74/5623420 to your computer and use it in GitHub Desktop.
copy of graylog conf, but needed different file path
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
description "graylog2 server" | |
author "Mick Pollard <[email protected]>" | |
start on runlevel [2345] | |
stop on runlevel [06] | |
# tell upstart we're creating a daemon | |
# upstart manages PID creation for you. | |
expect fork | |
script | |
cd /opt/graylog2/graylog2-server | |
exec sudo java -jar graylog2-server.jar >> /var/log/graylog.log 2>&1 | |
emit graylog2-server_running | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment