/srv/irclogs.ubuntu.com/2013/05/16/#upstart.txt

=== soren_ is now known as soren
ajpanyone around to help with an upstart script?18:25
ajphttp://pastebin.com/v7GzqKyL here's the script18:27
ajphaving 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 luck18:31
ajpanyone not idling?18:39
SpamapSajp: expect fork may not do what you think it does19:46
SpamapSajp: also 'starting shutdown' is not an event.19:46
SpamapSajp: unless you have a special 'shutdown' job you created19:47
SpamapSajp: If MonitorScannedPDFsMatthew.sh just runs forever and never detaches itself, then remove 'expect fork'19:48
SpamapSajp: and I'd recommend using 'start on runlevel [2345]' and 'stop on runlevel [016]' unless you have a good reason to use something else19:49
* SpamapS re-idles19:49
ajpspamapS: thanks that was a big help, ill try it after I'm done with lunch here20:37
ajpSpamapS: 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:07
SpamapSajp: you will need root to start/stop jobs in the default configuration yes22:09
SpamapSajp: you might want to change 'console none' to 'console log' and look at /var/log/upstart/upstartPDF.log for clues22:09
ajpgood idea22:12
ajpit dopesn't look like it's logging 22:15
=== Jordan_U_ is now known as Jordan_U
ajpI wouldn't have to restart the system would I?22:18
ajpSpamapS ?22:18
SpamapSajp: no, just the job itself22:27
SpamapSajp: if it isn't printing anything out, it won't log22:28
SpamapSajp: you can check /var/log/syslog for any clues as well22:28
ajpic22:28
ajpwell almost end of workday, I guess i'll be here tomorrow22:29
ajpthanks ttfn22:29

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!