--cache-dir support added
remove pid file not necessary. inadyn 1.99.9 binary take care of it.