On August 23, 2013 01:44:12 PM Timur Birsh wrote:
> On Thu, Aug 22, 2013 at 08:54 -0500, Steve M. Robbins wrote:
> > > Perhaps I should put create_cache_dir() call in 'restart' command.
> > 
> > Perhaps you can code it so that "restart" just calls "stop" and then
> > "start"? That seems to be a fairly common idiom.
> 
> Yep, 'restart' calls 'stop' and then 'start' which are implemented as
> ordinary functions, do_stop() and do_start(). But create_cache_dir() is
> called outside of the do_start(). I guess do_start() could call
> create_cache_dir().
> 
> Ok. If you agree I'll close the bug.

Yes: moving the call to create_cache_dir() inside do_start() would fix the 
issue.

Thanks!
-Steve

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to