7 lines
119 B
Bash
7 lines
119 B
Bash
#!/bin/sh
|
|
PID=$(pgrep dovecot)
|
|
if [ -z "${PID}" ]
|
|
then
|
|
exec /usr/sbin/dovecot -c /etc/mail/dovecot/dovecot.conf
|
|
fi
|