Sha256: 2b8ddfa2ff6ecd53fedcbb25138c34fc60ff7189aadf33de798548a699f5e46c

Contents?: true

Size: 521 Bytes

Versions: 13

Compression:

Stored size: 521 Bytes

Contents

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

start on started graylog-server
stop on runlevel [016]

script
  cd <%= rubber_env.graylog_web_dir %>
  exec bash -l -c "bundle exec puma -p <%= rubber_env.graylog_web_port %> <%= rubber_env.graylog_web_dir %>/config.ru"
end script

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

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rubber-2.5.0 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.4.2 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.4.1 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.4.0 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.3.1 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.3.0 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.2.4 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.2.3 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.2.2 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.2.1 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.2.0 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.1.2 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.1.1 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf