From dd6ed6f7e5481e8c55237aa8bfc260b6f5eef291 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 28 Jun 2019 12:35:02 +0200 Subject: Add note on JOURNAL_STREAM added in systemd 231 --- bbot/agent/agent.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bbot/agent') 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. -- cgit v1.1