gnu-social/docker/mail/rootfs/etc/service/rsyslog/run

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