Fixed double pid problem of init script