node.js does not start via upstart (but does when manually run from command line) -
I have a node. Js is an app that can run successfully from the command line. I want to start using it upstart.
I do not need to define Looks like exec line from my upstart script Is the path not being set correctly? This is more likely to be solved as it solves [context arrow] when it hits the first line of my app, which is ..
Var requirejs = require ('requirejs');
exec sudo -u pi / usr / local / bin / node / home / [my_app_dir] / Myapp.js & gt; & Gt; /var/log/myapp.log2 & gt; & Amp; 1
node_modules Seeing a CD (relevant dir) in the wrong place after which the
node myapp & gt; & Gt; ... Instead, it should be able to find all your essential libraries.
Comments
Post a Comment