6 lines
120 B
Bash
6 lines
120 B
Bash
#!/bin/sh
|
|
PID=$(pgrep rsyslog)
|
|
if [ -z "${PID}" ]
|
|
then
|
|
exec /usr/sbin/rsyslogd -f /etc/mail/rsyslogd/rsyslog.conf
|
|
fi |