mode, pidfile