mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 17:30:42 +01:00
systemd does not require a pid file to track the rsyslogd process. By not writing a pid file, the rsyslog service can be locked down even further as it no longer needs write access to /var/run.
16 lines
297 B
SYSTEMD
16 lines
297 B
SYSTEMD
[Unit]
|
|
Description=System Logging Service
|
|
Requires=syslog.socket
|
|
Documentation=man:rsyslogd(8)
|
|
Documentation=http://www.rsyslog.com/doc/
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=@sbindir@/rsyslogd -n -iNONE
|
|
StandardOutput=null
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=syslog.service
|