docs: def daemonize(self):
          """Double fork and set the pid."""
          self._double_fork()
  
          # Write pidfile.
          self.pid = os.getpid()
  
          LOG.info(
              "Succesfully daemonized process {0}.".format(self.pid)
          )