dlog_logger: Drop redundant User/Group settings 94/91994/7
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 12 Oct 2016 11:12:27 +0000 (13:12 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Thu, 13 Oct 2016 16:28:18 +0000 (18:28 +0200)
User and Group default to root for system services.

Additionally, reformat note about TZ variable setting.

Change-Id: Ib648c1bf47169c3da5476e4612e11b5d8826ded3

packaging/dlog_logger.service

index e89a58b..c15f427 100755 (executable)
@@ -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