HomePhabricator

service::node: Output std out/err to a file

Authored by mobrovac on Jul 14 2016, 4:17 PM.

Description

service::node: Output std out/err to a file

In case a service (or firejail) logs something to std out/err, it gets
sent to journalctl, which is not accessible to service owners. This
patch redirects them to a file so that service owners can consult and
inspect them.

Note that this changeset is pertinent only for Jessie installs since
Upstart has no way of redirecting the std streams.

Bug: T137878
Change-Id: I6f06d85bd1ada95c99b373a5f6b8f51c535eeee6

Details