2020-09-08 06:55:17 +00:00
|
|
|
[Unit]
|
|
|
|
Description=System Logging Service
|
|
|
|
Requires=syslog.socket
|
2022-01-24 09:23:27 +00:00
|
|
|
After=network.target network-online.target
|
2020-09-08 06:55:17 +00:00
|
|
|
Conflicts=syslog-ng.service syslogd.service
|
|
|
|
Documentation=man:rsyslogd(8)
|
|
|
|
Documentation=http://www.rsyslog.com/doc/
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=notify
|
|
|
|
Environment=RSYSLOGD_PARAMS=
|
|
|
|
EnvironmentFile=-/etc/sysconfig/syslog
|
|
|
|
ExecStartPre=/usr/sbin/rsyslog-service-prepare
|
|
|
|
ExecStart=/usr/sbin/rsyslogd -n -iNONE $RSYSLOGD_PARAMS
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
StandardOutput=null
|
|
|
|
Restart=on-abort
|
|
|
|
|
|
|
|
# Increase the default a bit in order to allow many simultaneous
|
|
|
|
# files to be monitored, we might need a lot of fds.
|
|
|
|
LimitNOFILE=16384
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
Alias=syslog.service
|