7ec64e5f9c
This is a follow-up to d7576c7
which initially added support for running
in systemd based systems. Since the unit file sources the syslog.socket
we have /run/systemd/journal/syslog open already on descriptor 3. All
we need to do is verify that's the mode syslogd runs in.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
16 lines
321 B
SYSTEMD
16 lines
321 B
SYSTEMD
[Unit]
|
|
Description=System Logging Service
|
|
Documentation=man:syslogd
|
|
Documentation=man:syslog.conf
|
|
Requires=syslog.socket
|
|
|
|
[Service]
|
|
EnvironmentFile=-@SYSCONFDIR@/default/syslogd
|
|
ExecStart=@SBINDIR@/syslogd -F $SYSLOGD_OPTS
|
|
StandardOutput=null
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=syslog.service
|