Sha256: a15e3e7fb8f3f05b1b77bc0b64acc43af7af852afee1d198024f228b897a2bf2

Contents?: true

Size: 584 Bytes

Versions: 22

Compression:

Stored size: 584 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 "passenger start -e production --user <%= rubber_env.app_user %> -p <%= rubber_env.graylog_web_port %> --log-file <%= rubber_env.graylog_web_dir %>/log/server.log"
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

22 entries across 22 versions & 1 rubygems

Version Path
rubber-2.0.0.pre2 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf
rubber-2.0.0.pre1 templates/graylog/config/rubber/role/graylog_web/graylog_web-upstart.conf