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