diff --git a/lib/bullpen_participant.py b/lib/bullpen_participant.py index 544e7cb..0743171 100644 --- a/lib/bullpen_participant.py +++ b/lib/bullpen_participant.py @@ -52,7 +52,7 @@ def _read_chats(): continue try: m = json.loads(line) - if m.get("type") == "chat": + if m.get("type") in ("chat", "ask"): out.append(m) except Exception: pass diff --git a/systemd/bullpen-selfimprove.service b/systemd/bullpen-selfimprove.service index 57e4550..08031f8 100644 --- a/systemd/bullpen-selfimprove.service +++ b/systemd/bullpen-selfimprove.service @@ -4,4 +4,4 @@ After=network-online.target [Service] Type=oneshot -ExecStart=%h/.local/bin/bullpen-selfimprove +ExecStart=/usr/local/bin/bullpen-selfimprove diff --git a/systemd/bullpen-triage.service b/systemd/bullpen-triage.service index 3db1849..2414f0c 100644 --- a/systemd/bullpen-triage.service +++ b/systemd/bullpen-triage.service @@ -5,7 +5,7 @@ After=network-online.target [Service] Type=simple Environment=PATH=/home/mfritsche/.local/bin:/usr/local/bin:/usr/bin:/bin -ExecStart=/home/mfritsche/.local/bin/bullpen-triage +ExecStart=/usr/local/bin/bullpen-triage Restart=always RestartSec=5