[13:51] <wavded> SpamapS: here is the script: http://pastebin.com/UuBcRTws
[14:31] <resmo_> hi
[14:32] <resmo_> i created a upstart conf for node but but when I try to start myserver I get a Unknown job
[14:32] <resmo_> any hints what I am doing wrong?
[14:33] <resmo_> config is in /etc/init/myserver.conf
[14:46] <wavded> resmo_ that is the correct location, what is the contents of your upstart script?
[14:56] <SpamapS> wavded: hm, that looks ok
[14:56] <SpamapS> wavded: one side note, you do not need the 'script' and 'end script' bit
[14:57] <SpamapS> wavded: and you might consider dropping the log redirection too, and just use 'console log'
[14:57] <SpamapS> wavded: that will log to /var/log/upstart/your-job-name.log
[14:59] <SpamapS> 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] <wavded> SpamapS: sure
[15:08] <wavded> SpamapS: one question, does restart <job> not reload the config if it changed?
[15:17] <SpamapS> wavded: no it does not
[15:18] <SpamapS> wavded: stop/start to do that
[15:18] <wavded> ahh learned that yesterday, the hardway :)
[15:19] <wavded> 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] <SpamapS> wavded: should give you an exit code too
[15:20] <jodh> wavded: I'd guess /usr/bin/node is failing since HOME is not set for user sawyer.
[15:20] <wavded> status 2
[15:21] <SpamapS> jodh: hey howdy btw. :) Really loving job logging, btw
[15:21] <jodh> SpamapS: hi - how's things?
[15:22] <SpamapS> jodh: oh 'bout the same
[15:23] <jodh> SpamapS: :)
[15:23] <SpamapS> jodh: yourself? About done with that rewrite of upstart in go? ;)
[15:23] <wavded> ok, i tried adding env HOME=/home/sawyer to the config, didn't help, should i do it some other way?
[15:25] <SpamapS> 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] <jodh> SpamapS: well I was thinking fortran might make a comeback...
[15:28] <wavded> ahh checked upstart log, looks like the /var/log/node/redi.log wasn't writable by sawyer
[15:29] <wavded> does 'console output' handle that stuff
[15:32] <wavded> ahh nm, got it, console log works, thanks for your help
[15:48] <jodh> 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