pidfile is now optional