# Ubuntu upstart file at /etc/init/storm-<%= @name %>.conf

limit nofile 32768 32768

start on (local-filesystems and net-device-up IFACE=eth0)
stop on [!12345]

<% if @respawn %>
respawn
<% end %>

script
  # Source /etc/default
  . /etc/default/storm
  . /etc/default/storm-<%= @name %>

  # Set STORM Options
  STORM_CMD="-classpath $STORM_CLASSPATH -Xms$STORM_<%= @name.upcase %>_JVM_MEMORY -Xmx$STORM_<%= @name.upcase %>_JVM_MEMORY -Djava.library.path=\"$JAVA_LIBRARY_PATH\" -Dstorm.options=\"$STORM_OPTIONS\" -Dstorm.home=$STORM_HOME -Dlogback.configurationFile=storm-logback.xml -Dlogfile.name=<%= @name %>.log -Dstorm.log.dir=<%= @storm_logdir %> $SUPERVISOR_JVM_OPTS <%= @classname %>"

  if [ "x$ENABLE" = "xyes" ]; then
    exec start-stop-daemon --start --pidfile ${STORM_PID} --make-pidfile --chuid ${STORM_USER} --chdir ${STORM_HOME} --exec /usr/bin/java -- ${STORM_CMD}
  fi

end script


# Ubuntu upstart file at /etc/init/storm-<%= @name %>.conf

limit nofile 32768 32768

start on (local-filesystems and net-device-up IFACE=eth0)
stop on [!12345]

<% if @respawn %>
respawn
<% end %>

script
  # Source /etc/default
  . /etc/default/storm
  . /etc/default/storm-<%= @name %>

  # Set STORM Options
  STORM_CMD="-classpath $STORM_CLASSPATH -Xms$STORM_<%= @name.upcase %>_JVM_MEMORY -Xmx$STORM_<%= @name.upcase %>_JVM_MEMORY -Djava.library.path=\"$JAVA_LIBRARY_PATH\" -Dstorm.options=\"$STORM_OPTIONS\" -Dstorm.home=$STORM_HOME -Dlogback.configurationFile=/etc/storm/storm-logback.xml -Dlogfile.name=<%= @name %>.log -Dstorm.log.dir=<%= @storm_logdir %> $SUPERVISOR_JVM_OPTS <%= @classname %>"

  if [ "x$ENABLE" = "xyes" ]; then
    exec start-stop-daemon --start --pidfile ${STORM_PID} --make-pidfile --chuid ${STORM_USER} --chdir ${STORM_HOME} --exec /usr/bin/java -- ${STORM_CMD}
  fi

end script


Add missing path to storm-logback.xml in init-service.
Add missing path to storm-logback.xml in init-service.
