/srv/irclogs.ubuntu.com/2012/06/01/#upstart.txt

tcrLet's say I'm polling for the existence of a file in a pre-start script. When I try to stop the job when it's polling, it changes to stop/pre-start. I want it to stop doing the polling if it receives a stop event.09:22
jodhtcr: hmm - that doesn't sound right. Can you raise a bug with some more details here: https://bugs.launchpad.net/upstart/+filebug. To work around the issue, you could put  your poll code into the main "script" section. Polling for files isn't ideal though - what is creating that file?13:07
tcrA configuration process. The file should always be there except before first time configuration13:16
jodhtcr: why the poll then? wouldn't it make more sense to have the pre-start check for the config file and if not found, call "stop" to ensure the service does not start?13:18
tcrI want the service to start once the file is there13:22
JanCprobably best use something like inotify in a helper job then13:28

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