diff options
Diffstat (limited to 'kvmd/plugins/ugpio/ezcoo.py')
-rw-r--r-- | kvmd/plugins/ugpio/ezcoo.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/kvmd/plugins/ugpio/ezcoo.py b/kvmd/plugins/ugpio/ezcoo.py index 5c6c0e8e..f5b0bbd6 100644 --- a/kvmd/plugins/ugpio/ezcoo.py +++ b/kvmd/plugins/ugpio/ezcoo.py @@ -20,7 +20,6 @@ # ========================================================================== # -import os import re import multiprocessing import errno @@ -130,12 +129,7 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute ) def __serial_worker(self) -> None: - logger = get_logger(0) - - logger.info("Started %s pid=%d", self, os.getpid()) - os.setpgrp() - aioproc.rename_process(f"gpio-ezcoo-{self._instance_name}") - + logger = aioproc.settle(str(self), f"gpio-ezcoo-{self._instance_name}") while not self.__stop_event.is_set(): try: with self.__get_serial() as tty: |