From db8db430b986241bb380f7a25d8ed2b2c7e92e06 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 23 Jan 2017 11:01:02 +0100 Subject: [PATCH] Avoid warning from systemd by reloading the daemon after chaning journald config --- setup/start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/start.sh b/setup/start.sh index e8f3dca7c..6ba85ee83 100755 --- a/setup/start.sh +++ b/setup/start.sh @@ -148,6 +148,7 @@ sed -e "s/^WatchdogSec=.*$/WatchdogSec=3min/" \ usermod -a -G systemd-journal yellowtent mkdir -p /var/log/journal # in some images, this directory is not created making system log to /run/systemd instead chown root:systemd-journal /var/log/journal +systemctl daemon-reload systemctl restart systemd-journald setfacl -n -m u:yellowtent:r /var/log/journal/*/system.journal