If we want the dispatcher to run under systemd, let's keep its output a
bit more terse. The logfile will still be available.
Signed-off-by: Zack Cerza <zack@redhat.com>
run_args.extend(["--job-config", job_config_path])
try:
- job_proc = subprocess.Popen(run_args)
+ job_proc = subprocess.Popen(
+ run_args,
+ stdout=subprocess.DEVNULL,
+ stdin=subprocess.STDOUT,
+ )
job_procs.add(job_proc)
log.info('Job supervisor PID: %s', job_proc.pid)
except Exception: