summaryrefslogtreecommitdiff
path: root/kvmd/plugins
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-10-01 07:43:02 +0300
committerDevaev Maxim <[email protected]>2019-10-01 07:43:02 +0300
commit08eeb3c19f0ce793073987bb63354fbbe7103c73 (patch)
treee63eff13800298c997a9c38564b8301ff16b58b6 /kvmd/plugins
parent57cb22d7d2c449e0d8a829bc3bf5594a9d8ef8d6 (diff)
changed processes names
Diffstat (limited to 'kvmd/plugins')
-rw-r--r--kvmd/plugins/hid/otg/hid.py2
-rw-r--r--kvmd/plugins/hid/serial.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/hid/otg/hid.py b/kvmd/plugins/hid/otg/hid.py
index bbad8f68..83121b65 100644
--- a/kvmd/plugins/hid/otg/hid.py
+++ b/kvmd/plugins/hid/otg/hid.py
@@ -70,7 +70,7 @@ class DeviceProcess(multiprocessing.Process): # pylint: disable=too-many-instan
logger.info("Started HID-%s pid=%d", self.__name, os.getpid())
signal.signal(signal.SIGINT, signal.SIG_IGN)
- setproctitle.setproctitle(f"[hid-{self.__name}] {setproctitle.getproctitle()}")
+ setproctitle.setproctitle(f"kvmd/hid-{self.__name}: {setproctitle.getproctitle()}")
while not self.__stop_event.is_set():
try:
diff --git a/kvmd/plugins/hid/serial.py b/kvmd/plugins/hid/serial.py
index 9a5995e9..6f8132e4 100644
--- a/kvmd/plugins/hid/serial.py
+++ b/kvmd/plugins/hid/serial.py
@@ -302,7 +302,7 @@ class Plugin(BaseHid, multiprocessing.Process): # pylint: disable=too-many-inst
logger.info("Started HID pid=%d", os.getpid())
signal.signal(signal.SIGINT, signal.SIG_IGN)
- setproctitle.setproctitle("[hid] " + setproctitle.getproctitle())
+ setproctitle.setproctitle(f"kvmd/hid: {setproctitle.getproctitle()}")
while not self.__stop_event.is_set():
try: