diff options
author | Devaev Maxim <[email protected]> | 2020-12-02 15:07:08 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-12-02 15:07:08 +0300 |
commit | 5bc868662a7ef2b8959a04e6678c512797ebd7be (patch) | |
tree | 102f25b53359e58a8cd42c78a5ea7f57c91f294f /kvmd/plugins/ugpio | |
parent | 2b064a3bee87a13930e1212b583278ff2a8117db (diff) |
stop signals propagation in 3.9
Diffstat (limited to 'kvmd/plugins/ugpio')
-rw-r--r-- | kvmd/plugins/ugpio/ezcoo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/ugpio/ezcoo.py b/kvmd/plugins/ugpio/ezcoo.py index bdc65d36..5c6c0e8e 100644 --- a/kvmd/plugins/ugpio/ezcoo.py +++ b/kvmd/plugins/ugpio/ezcoo.py @@ -133,7 +133,7 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute logger = get_logger(0) logger.info("Started %s pid=%d", self, os.getpid()) - aioproc.ignore_sigint() + os.setpgrp() aioproc.rename_process(f"gpio-ezcoo-{self._instance_name}") while not self.__stop_event.is_set(): |