aboutsummaryrefslogtreecommitdiff
path: root/bbot/worker/worker.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-06-28 12:35:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-06-28 12:35:02 +0200
commitdd6ed6f7e5481e8c55237aa8bfc260b6f5eef291 (patch)
tree30564f894f3ae41d1a2c9aaa180a7b7239929f87 /bbot/worker/worker.cxx
parent13903f8fdc85b8a03d87ad3458ca5b82e8072dcc (diff)
Add note on JOURNAL_STREAM added in systemd 231
Diffstat (limited to 'bbot/worker/worker.cxx')
-rw-r--r--bbot/worker/worker.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index 00ceecd..534670c 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -1135,6 +1135,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 (false);