Open spuder opened 8 years ago
Actually runuser error should not matter for ubuntu, since that parameter is not used internally for upstart script.
From the log looks like your script is exiting for some reason. I would suggest investigate if your script executes or not and why it is exiting.
Same issue, imposible to debug... :-(
forever-service@0.5.7
Ubuntu
Node 6.2
Try putting the line set -x
somewhere in the top of /etc/init/foo.conf. This will give verbsoe output when running
service foo start`.
I haven't yet been able to figure out what is wrong with my config, maybe it will help you.
this is a problem I had with my express app, the solution was:
navigate to yout app folder.
execute: "sudo forever start ./bin/www"
I hope this help.
Trying to run on ubuntu 14.04
The services registers properly
But when I look in the logs, it fails over and over
Init script (squashed for readability)
My best theory is that the
runuser
error is a bigger deal that indicated (but then how is anyone else using this with ubuntu 14.04)? http://unix.stackexchange.com/questions/169441/ubuntu-runuser-command