[13:51] SpamapS: here is the script: http://pastebin.com/UuBcRTws [14:31] hi [14:32] i created a upstart conf for node but but when I try to start myserver I get a Unknown job [14:32] any hints what I am doing wrong? [14:33] config is in /etc/init/myserver.conf [14:46] resmo_ that is the correct location, what is the contents of your upstart script? [14:56] wavded: hm, that looks ok [14:56] wavded: one side note, you do not need the 'script' and 'end script' bit [14:57] wavded: and you might consider dropping the log redirection too, and just use 'console log' [14:57] wavded: that will log to /var/log/upstart/your-job-name.log [14:59] wavded: could you raise log-priority to info (sudo initctl log-priority info) and start your job.. then pastebin any logs that end up in /var/log/syslog from that action? [15:05] SpamapS: sure [15:08] SpamapS: one question, does restart not reload the config if it changed? [15:17] wavded: no it does not [15:18] wavded: stop/start to do that [15:18] ahh learned that yesterday, the hardway :) [15:19] ok its not starting now for some reason: I get: un 22 10:17:26 adc-staging-web2 kernel: [307549.693232] init: redi respawning too fast, stopped [15:20] wavded: should give you an exit code too [15:20] wavded: I'd guess /usr/bin/node is failing since HOME is not set for user sawyer. [15:20] status 2 [15:21] jodh: hey howdy btw. :) Really loving job logging, btw [15:21] SpamapS: hi - how's things? [15:22] jodh: oh 'bout the same [15:23] SpamapS: :) [15:23] jodh: yourself? About done with that rewrite of upstart in go? ;) [15:23] ok, i tried adding env HOME=/home/sawyer to the config, didn't help, should i do it some other way? [15:25] wavded: you should have some logs giving you a hint as to why it is failing [15:25] * SpamapS goes afk for a bit [15:26] SpamapS: well I was thinking fortran might make a comeback... [15:28] ahh checked upstart log, looks like the /var/log/node/redi.log wasn't writable by sawyer [15:29] does 'console output' handle that stuff [15:32] ahh nm, got it, console log works, thanks for your help [15:48] this might come in useful for others in the future: http://upstart.ubuntu.com/cookbook/#checking-how-a-service-might-react-when-run-as-a-job