Add pidfile configuration option