Sha256: 2cca67e81e665f1f3f077ac907bc23b7e63e9cd1026cb871218023d2c5a5e6d1

Contents?: true

Size: 515 Bytes

Versions: 75

Compression:

Stored size: 515 Bytes

Contents

<%
  @path = "/etc/init/graylog-server.conf"
  @backup = false
%>
description "graylog server"

start on (started mongodb and started elasticsearch)
stop on runlevel [016]

script
  cd <%= rubber_env.graylog_server_dir %>
  ulimit -n 65536
  exec java -jar graylog2-server.jar > graylog.log 2>&1
end script

post-start script
  status graylog-server | head -n1 | awk '{print $NF}' > <%= rubber_env.graylog_server_pid_file %>
end script

post-stop script
  rm -f <%= rubber_env.graylog_server_pid_file %>
end script

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
rubber-2.9.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.8.1 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.8.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.7.5 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.7.4 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.7.3 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.7.2 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.7.1 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.7.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.6.5 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.6.4 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.6.3 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.6.2 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.6.1 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.6.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.5.5 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.5.4 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.5.3 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.5.2 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.5.1 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf