Skip to content
  • Hanna Czenczek's avatar
    QFDE: Simplify --daemonize and --pid-file · 9836ac39
    Hanna Czenczek authored
    Stop setting up a real QMP monitor for --daemonize (we will not use it
    anyway, if we are being honest), and instead just set up one after all
    other options, so we can wait for the greeting there and thus know that
    everything is set up.  A --daemonize option for QSD would be even nicer,
    but that is stalled upstream.
    
    Also, do not fork the process for --daemonize, there is no real point.
    Just skip waiting instead.
    
    For --pid-file, we just use the now existing --pidfile implementation of
    the QSD.
    9836ac39