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.9.0 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.8.1 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.8.0 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.7.5 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.7.4 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.7.3 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.7.2 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.7.1 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.7.0 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.6.5 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.6.4 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.6.3 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.6.2 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.6.1 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.6.0 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.5.5 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.5.4 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.5.3 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.5.2 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf
rubber-2.5.1 templates/torquebox/config/rubber/role/torquebox/torquebox-upstart.conf