Support pidFile

add pidFile param