From df9f347849d45ada9c4b6824b5ff78ad3e4b718f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 1 Dec 2016 09:24:27 +0100 Subject: Logging some container actions in container program to /var/log/container-tools/container.log. Signed-off-by: Daniel Baumann --- share/man/container.1.txt | 3 +++ share/systemd/container@.service | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'share') diff --git a/share/man/container.1.txt b/share/man/container.1.txt index b56a2bd..670efbe 100644 --- a/share/man/container.1.txt +++ b/share/man/container.1.txt @@ -108,6 +108,9 @@ The following files are used: */var/lib/machines*:: Container root directory. +*/var/log/container-tools*:: + Container log files. + SEE ALSO -------- diff --git a/share/systemd/container@.service b/share/systemd/container@.service index 539139e..4a30ff6 100644 --- a/share/systemd/container@.service +++ b/share/systemd/container@.service @@ -4,9 +4,9 @@ Documentation=man:container-tools [Service] Type=simple -ExecStart=/usr/bin/container start --name %i --nspawn -ExecStartPost=/usr/bin/container start --name %i --start -ExecStopPost=/usr/bin/container stop -n %i --clean +ExecStart=/usr/bin/container start --name %i --nspawn --no-notification +ExecStartPost=/usr/bin/container start --name %i --start --no-notification +ExecStopPost=/usr/bin/container stop -n %i --clean --no-notification KillMode=mixed [Install] -- cgit v1.2.3