aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent/agent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/agent/agent.cxx')
-rw-r--r--bbot/agent/agent.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx
index 06e4adf..8da46eb 100644
--- a/bbot/agent/agent.cxx
+++ b/bbot/agent/agent.cxx
@@ -1087,6 +1087,9 @@ try
verb = ops.verbose ();
+ // @@ systemd 231 added JOURNAL_STREAM environment variable which allows
+ // detecting if stderr is connected to the journal.
+ //
if (ops.systemd_daemon ())
systemd_diagnostics (true); // With critical errors.