| 1 |
[Unit] |
| 2 |
Description=GNU Network Utilities system log daemon |
| 3 |
Documentation=man:syslogd(8) |
| 4 |
Documentation=https://www.gnu.org/software/inetutils/manual/ |
| 5 |
After=network-online.target |
| 6 |
After=remote-fs.target |
| 7 |
After=time-sync.target |
| 8 |
# The daemon does not implement the socket protocol now, but we do not care. |
| 9 |
Requires=syslog.socket |
| 10 |
Requires=network.target |
| 11 |
Requires=remote-fs.target |
| 12 |
Requires=time-sync.target |
| 13 |
ConditionPathExists=/etc/syslog.conf |
| 14 |
|
| 15 |
[Service] |
| 16 |
Type=simple |
| 17 |
EnvironmentFile=-/etc/default/inetutils-syslogd |
| 18 |
ExecStart=/usr/sbin/syslogd --no-detach $SYSLOGD_OPTS |
| 19 |
ExecReload=+/bin/kill -HUP $MAINPID |
| 20 |
PIDFile=/run/syslog.pid |
| 21 |
Restart=on-failure |
| 22 |
|
| 23 |
[Install] |
| 24 |
WantedBy=multi-user.target |
| 25 |
Alias=syslogd.service |
| 26 |
# The daemon does not implement the socket protocol now, but we do not care. |
| 27 |
Alias=syslog.service |