pre-start script

bash << "EOF"
  mkdir -p <%= log_root %>
  chown -R <%= user %> <%= log_root %>
EOF

end script

pre-start script

bash << "EOF"
  mkdir -p <%= log_root %>
  chown -R <%= user %> <%= log_root %>
EOF

end script

start on started network
stop on stopping network

Make upstart export start/stop with network
Make upstart export start/stop with network
