2 Description=dlog logging service
3 After=systemd-tmpfiles-setup.service local-fs.target
10 # Setting TZ prevents logger from repeatedly statting /etc/localtime
11 # each time it wanted a timestamp, increasing performance (glibc feature).
12 # However, there is a tradeoff as it also sets the timezone in stone.
14 # We accept the tradeoff as without caching dlog_logger will be A LOT
15 # slower (eg. 30-60% slower). If you dare to touch setting below, be
16 # prepared to show vallgrind callgrind and perf data showing the
17 # performance penalty.
18 Environment=TZ=:/etc/localtime
20 User=@DLOG_SERVER_USER@
21 Group=@DLOG_SERVER_GROUP@
22 SmackProcessLabel=System
23 ExecStart=/usr/bin/dlog_logger
24 Capabilities=cap_syslog=i