dont set pidFile if it's empty