Sha256: 3dc10887a3f0fd10135560df82338cab652c32f3defd05d9d547c8ae55fa1c7a

Contents?: true

Size: 542 Bytes

Versions: 11

Compression:

Stored size: 542 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 "RAILS_ENV=production 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

11 entries across 11 versions & 1 rubygems

Version Path
rubber-2.6.5 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.6.4 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.6.3 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.6.2 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.6.1 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.6.0 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.5.5 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.5.4 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.5.3 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.5.2 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.5.1 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf