1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
# SPDX-License-Identifier: LGPL-2.1-or-later
# This file is part of systemd.
[Unit]
Description=Journal Syslog Unicast and Multicast Daemon
Documentation=man:systemd-netlogd(8)
After=network.target
[Service]
ExecStart=@PKGPREFIX@/systemd-netlogd
WatchdogSec=20min
# hardening
LockPersonality=yes
MemoryDenyWriteExecute=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectClock=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectProc=invisible
ProtectSystem=strict
StateDirectory=systemd/journal-netlogd
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target
|