=== soren_ is now known as soren | ||
ajp | anyone around to help with an upstart script? | 18:25 |
---|---|---|
ajp | http://pastebin.com/v7GzqKyL here's the script | 18:27 |
ajp | 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:31 |
ajp | anyone not idling? | 18:39 |
SpamapS | ajp: expect fork may not do what you think it does | 19:46 |
SpamapS | ajp: also 'starting shutdown' is not an event. | 19:46 |
SpamapS | ajp: unless you have a special 'shutdown' job you created | 19:47 |
SpamapS | ajp: If MonitorScannedPDFsMatthew.sh just runs forever and never detaches itself, then remove 'expect fork' | 19:48 |
SpamapS | 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 | 19:49 | |
ajp | spamapS: thanks that was a big help, ill try it after I'm done with lunch here | 20:37 |
ajp | 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:07 |
SpamapS | ajp: you will need root to start/stop jobs in the default configuration yes | 22:09 |
SpamapS | ajp: you might want to change 'console none' to 'console log' and look at /var/log/upstart/upstartPDF.log for clues | 22:09 |
ajp | good idea | 22:12 |
ajp | it dopesn't look like it's logging | 22:15 |
=== Jordan_U_ is now known as Jordan_U | ||
ajp | I wouldn't have to restart the system would I? | 22:18 |
ajp | SpamapS ? | 22:18 |
SpamapS | ajp: no, just the job itself | 22:27 |
SpamapS | ajp: if it isn't printing anything out, it won't log | 22:28 |
SpamapS | ajp: you can check /var/log/syslog for any clues as well | 22:28 |
ajp | ic | 22:28 |
ajp | well almost end of workday, I guess i'll be here tomorrow | 22:29 |
ajp | thanks ttfn | 22:29 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!