From 43d4b7b918ef4e01e609b8f7092bfa3e30132aa1 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Wed, 12 Oct 2016 13:12:27 +0200 Subject: [PATCH] dlog_logger: Drop redundant User/Group settings User and Group default to root for system services. Additionally, reformat note about TZ variable setting. Change-Id: Ib648c1bf47169c3da5476e4612e11b5d8826ded3 --- packaging/dlog_logger.service | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/dlog_logger.service b/packaging/dlog_logger.service index e89a58b..c15f427 100755 --- a/packaging/dlog_logger.service +++ b/packaging/dlog_logger.service @@ -5,11 +5,11 @@ Before=basic.target DefaultDependencies=no [Service] -# Needed for access to /dev/kmsg, the daemon drops its privileges to log,log on its own after that -User=root -Group=root -# the line below prevents logger from repeatedly statting /etc/localtime each time it wanted a timestamp, increasing performance. Type=notify +# +# Setting TZ prevents logger from repeatedly statting /etc/localtime +# each time it wanted a timestamp, increasing performance. +# Environment=TZ=:/etc/localtime SmackProcessLabel=System::Privileged ExecStart=/usr/bin/dlog_logger -b 99 -t 600 -- 2.7.4