summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-10-17 01:10:27 +0300
committerDevaev Maxim <[email protected]>2020-10-17 01:10:27 +0300
commit678b3d24b877ede0a2730c6c47d430a8b5f78244 (patch)
tree0f40c27672b52c53c5b7e5ba12b31272cebe8e32 /kvmd
parenta2838a69a47f1bba1a11224757d0ee4d56261c12 (diff)
wider service regexp for log reader
Diffstat (limited to 'kvmd')
-rw-r--r--kvmd/apps/kvmd/logreader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/kvmd/logreader.py b/kvmd/apps/kvmd/logreader.py
index db5f44b0..bcebf42f 100644
--- a/kvmd/apps/kvmd/logreader.py
+++ b/kvmd/apps/kvmd/logreader.py
@@ -41,7 +41,7 @@ class LogReader:
services = set(
service
for service in systemd.journal.Reader().query_unique("_SYSTEMD_UNIT")
- if re.match(r"kvmd(-\w+)?\.service", service)
+ if re.match(r"kvmd(-\w+)*\.service", service)
).union(["kvmd.service"])
for service in services: