Sha256: 07f521ec8c4c58247399e35b2af6995c351cff367821fa5656aaa9e1b39015fe

Contents?: true

Size: 497 Bytes

Versions: 58

Compression:

Stored size: 497 Bytes

Contents

<%
  @path = "/etc/init/torquebox.conf"
  @backup = false
%>
description "This is an upstart job file for TorqueBox"

pre-start script
bash << "EOF"
  mkdir -p /var/log/torquebox
  chown -R <%= rubber_env.app_user %> /var/log/torquebox
EOF
end script

start on started network-services
stop on stopped network-services
respawn

script
bash << "EOF"
  su - <%= rubber_env.app_user %>
  <%= rubber_env.torquebox_dir %>/jboss/bin/standalone.sh >> /var/log/torquebox/torquebox.log 2>&1
EOF
end script

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
rubber-2.5.0 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.4.2 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.4.1 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.4.0 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.3.1 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.3.0 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.2.4 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.2.3 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.2.2 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.2.1 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.2.0 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.1.2 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.1.1 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.1.0 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.0.8 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.0.7 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.0.6 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.0.5 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf