Hi there,
Need some help in using upstart in an Amazon-Linux-AMI instance here. My
apology if this is not the right place to ask.. but IRC channel says "post
to mailing list if no response here".
I've got my .conf below placed in /etc/init. Command to start/stop/restart
would work, e.g. "sudo start my-app-name". However I can't get my process
to start automatically on reboot (see how I tried 2 different params
already).
#!upstart
description "node app"
#start on started mountall
start on startup
stop on shutdown
# Automatically Respawn:
respawn
respawn limit 99 5
env NODE_ENV=development
script
cd /home/ec2-user/test
exec node app.js 2>&1 >> /var/log/test.log
end script
Any help will be much appreciated thank you!
Daniel
--
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/upstart-devel