31 lines
890 B
Desktop File
31 lines
890 B
Desktop File
[Unit]
|
|
Description=System Logging Service
|
|
Requires=syslog.socket
|
|
Documentation=man:rsyslogd(8)
|
|
Documentation=man:rsyslog.conf(5)
|
|
Documentation=https://www.rsyslog.com/doc/
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStartPre=/usr/lib/rsyslog/reload-apparmor-profile
|
|
ExecStart=/usr/sbin/rsyslogd -n -iNONE
|
|
StandardOutput=null
|
|
StandardError=journal
|
|
Restart=on-failure
|
|
|
|
# Increase the default a bit in order to allow many simultaneous
|
|
# files to be monitored, we might need a lot of fds.
|
|
LimitNOFILE=16384
|
|
|
|
CapabilityBoundingSet=CAP_BLOCK_SUSPEND CAP_CHOWN CAP_DAC_OVERRIDE CAP_LEASE CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_ADMIN CAP_SYS_RESOURCE CAP_SYSLOG CAP_MAC_ADMIN CAP_SETGID CAP_SETUID
|
|
SystemCallFilter=@system-service
|
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
|
NoNewPrivileges=yes
|
|
ProtectHome=no
|
|
ProtectClock=yes
|
|
ProtectHostname=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=syslog.service
|