This is my upstart file
description "Example of starting Node with Upstart and Forever" start on filesystem or runlevel  stop on runlevel  expect fork console output setuid lwood env HOME=/home/lwood script cd $HOME exec forever -a -l /home/lwood/myapp/applog.log \ start /home/lwood/myapp/app.js end script pre-stop script cd $HOME exec forever stop /home/lwood/myapp/app.js end script
Do you know why
$ sudo restart myapp is only stopping the service? It does not start the service after stopping it. So it has the same effect as
$ sudo stop myapp.
$ sudo stop myapp and then
$ sudo start myapp works fine though. Wondering why restarting behaves different.
I'm on Ubuntu 12.04.