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-3.2.2 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-3.2.1 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-3.2.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-3.1.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-3.0.1 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-3.0.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.16.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.15.2 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.15.1 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.15.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.14.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.13.1 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.13.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.12.2 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.12.1 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.12.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.11.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.10.2 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.10.1 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf
rubber-2.10.0 templates/graylog/config/rubber/role/graylog_server/graylog_server-upstart.conf