=== soren_ is now known as soren [18:25] anyone around to help with an upstart script? [18:27] http://pastebin.com/v7GzqKyL here's the script [18:31] having trouble with upstart: http://pastebin.com/v7GzqKyL here's the script. The subscripts work but the upstart doesn't... I've tried starting and stopping the service with no luck [18:39] anyone not idling? [19:46] ajp: expect fork may not do what you think it does [19:46] ajp: also 'starting shutdown' is not an event. [19:47] ajp: unless you have a special 'shutdown' job you created [19:48] ajp: If MonitorScannedPDFsMatthew.sh just runs forever and never detaches itself, then remove 'expect fork' [19:49] ajp: and I'd recommend using 'start on runlevel [2345]' and 'stop on runlevel [016]' unless you have a good reason to use something else [19:49] * SpamapS re-idles [20:37] spamapS: thanks that was a big help, ill try it after I'm done with lunch here [22:07] SpamapS: nice palindrome, anyways here's what I have now: http://pastebin.com/ByJeymDR Still not working. should I be using "$sudo initctl start upstartPDF" to start/stop the job? [22:09] ajp: you will need root to start/stop jobs in the default configuration yes [22:09] ajp: you might want to change 'console none' to 'console log' and look at /var/log/upstart/upstartPDF.log for clues [22:12] good idea [22:15] it dopesn't look like it's logging === Jordan_U_ is now known as Jordan_U [22:18] I wouldn't have to restart the system would I? [22:18] SpamapS ? [22:27] ajp: no, just the job itself [22:28] ajp: if it isn't printing anything out, it won't log [22:28] ajp: you can check /var/log/syslog for any clues as well [22:28] ic [22:29] well almost end of workday, I guess i'll be here tomorrow [22:29] thanks ttfn