Created
July 18, 2011 15:51
-
-
Save rcreasey/1089918 to your computer and use it in GitHub Desktop.
Graylog2 Bluepill
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
| Bluepill.application("graylog2", :log_file => "/var/log/bluepill/graylog2.log") do |app| | |
| app.uid = "root" | |
| app.gid = "root" | |
| app.process("server") do |process| | |
| process.working_dir = "/var/graylog2/server" | |
| process.start_command = "/usr/bin/java -jar graylog2-server.jar -DconfigPath=/etc/graylog2.conf" | |
| process.daemonize = true | |
| process.start_grace_time = 10.seconds | |
| process.stop_grace_time = 10.seconds | |
| process.restart_grace_time = 10.seconds | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment