Use stdout and stderr for all commands

This commit is contained in:
Ben 2021-09-15 23:06:15 +02:00
parent 8c1f3cb62e
commit 2c41d962db
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -9,12 +9,13 @@ from queue import SimpleQueue
from signal import signal, SIGHUP, SIGINT, SIGTERM, setitimer, SIGALRM, ITIMER_REAL, SIGUSR1, SIGUSR2, strsignal
import click
import sh
import sh as shex
# noinspection PyUnresolvedReferences
from sh import podman
SERVICES_BASE_PATH = "/docker/services/"
sh = shex(_out=sys.stdout, _err=sys.stderr)
sdnotify = sh.Command("systemd-notify")