[15:42] hello, I am trying to use upstart for my nodejs server but I just get 'stop/waiting' [15:42] the upstart script should be correct though [15:44] is that a normal behaviour? [16:14] you get stop/waiting but your nodejs server is still running? [16:17] in that case the upstart job config is not correct [16:18] JanC: I went through it and fixed some problems. Now I get: start/running, process XXX [16:18] but the server doesn't work [16:20] any idea JanC? [16:20] is the nodejs server actually running? [16:21] nope [16:22] seems like the nodejs server doesn't start then? [16:22] or starts and immediately exits or crashes? [16:22] let me check [16:23] (I've never used nodejs, so no idea what might go wrong) [16:23] ok [16:23] if I run my exec command myself [16:23] it works [16:24] but now when I either start it manually (start ) or when I reboot the machine [16:25] I don't get why [16:26] arggg [16:26] wasting so much time [16:28] a web search gave me this: https://github.com/cvee/node-upstart (not sure if it's useful for you?) [16:30] there are some other articles to be found too, which do things somewhat differently [16:32] still nothing [16:32] fuck this shit [16:32] 1 hour wasted for nothing [16:35] BTW: when it works when you run it from the command line, but not from an upstart job, then usually the problem is something in the "environment" that is different (e.g. environment variables, working directory, application expects a tty, etc.) [16:35] also, permissions [17:48] thanks, it magically fixed itself :D [18:54] possibly it was still confused by a previous test without rebooting?