fix init script is pid file check
Merge branch 'feature/init_script' into develop