def SetupFromCommandLine(self, run_callback, shutdown_callback):
    opt = options.options.daemon.lower()

    if opt == 'none':
      # Not running as a daemon, run callback immediately.
      run_callback(shutdown_callback)
      return

    def _shutdown_daemon():
      self._context.close()
      shutdown_callback()

    opt = options.options.daemon.lower()
    if opt == 'start':
      self.StartDaemon()
      run_callback(_shutdown_daemon)
    elif opt == 'stop':
      self.StopDaemon(True)
      shutdown_callback()
    elif opt == 'restart':
      self.StopDaemon(False)
      self.StartDaemon()
      run_callback(_shutdown_daemon)
    else:
      raise ValueError('"%s" is not a valid choice for the --daemon option.  Must be one of %s'
                       % (opt, self.action_funcs))
Default behavior is that the first page is on the left.   
dataset/ETHPy150Open viewfinderco/viewfinder/backend/base/daemon.py/DaemonManager.SetupFromCommandLine--crossover with--dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/createpdf.py/FancyPage.is_left