code: def main():
      
      try:
          args = parse_daemon_args()
          daemon = Alignak(**args.__dict__)
          daemon.main()
      except Exception as exp:  # pylint: disable=broad-except
          sys.stderr.write("*** Daemon exited because: %s" % str(exp))
          traceback.print_exc()
          exit(1)
docs: Parse args and run main daemon function
  
      :return: None