support --pidfile anywhere in the command line