code: def _start_background(args):
      """Launches the server/worker in daemon processes."""
      if args.server:
          LOGGER.info("Starting the REST API server")
  
          process = multiprocessing.Process(target=_serve, args=(args,))
          process.daemon = True
  
          process.start()
  
      pool = multiprocessing.Pool(args.workers)
      for _ in range(args.workers):
          LOGGER.info("Starting background worker")
          pool.apply_async(_work, args=(args, True))
  
      pool.close()
      pool.join()
  
imports: import argparse
  import logging
  import multiprocessing
  import os
  import time
  import psutil
  from daemon import DaemonContext
  from lockfile.pidlockfile import PIDLockFile
  from atm.api import create_app
  from atm.config import AWSConfig, DatasetConfig, LogConfig, RunConfig, SQLConfig
  from atm.core import ATM
  from atm.data import copy_files, download_demo, get_demos
label_desc: Use image node_id 7 for calling a global function with example usage: _start_background(args) without return types