| 1 |
[Unit] |
| 2 |
Description=Metalog syslogd/klogd logging daemon |
| 3 |
Documentation=man:metalog(8) |
| 4 |
|
| 5 |
[Service] |
| 6 |
Type=exec |
| 7 |
ExecStart=/usr/sbin/metalog --group=adm --socket=/run/systemd/journal/syslog |
| 8 |
Restart=always |
| 9 |
StandardInput=null |
| 10 |
StandardOutput=null |
| 11 |
StandardError=null |
| 12 |
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SYSLOG CAP_SETGID |
| 13 |
NoNewPrivileges=yes |
| 14 |
PrivateTmp=yes |
| 15 |
ProtectHome=yes |
| 16 |
ProtectClock=yes |
| 17 |
ProtectSystem=full |
| 18 |
ProtectHostname=yes |
| 19 |
ProtectControlGroups=yes |
| 20 |
ProtectKernelModules=yes |
| 21 |
ProtectKernelTunables=yes |
| 22 |
|
| 23 |
[Install] |
| 24 |
WantedBy=multi-user.target |
| 25 |
Alias=syslog.service |