diff options
| author | Adam Weinberger <adamw@FreeBSD.org> | 2014-10-27 15:45:19 +0000 |
|---|---|---|
| committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-10-27 15:45:19 +0000 |
| commit | 70f3ad60ae45a9b5ad2c97871536ac8167cd6dc3 (patch) | |
| tree | f9c6bc21bb496fff249d648ffcc681e1e2336a8a /mail/dovecot2/files | |
| parent | Cleanup plist (diff) | |
Remove the checkyesno dovecot_enable section, as it prevents onestart/onestop
from working (as well as other things).
I suspect this behaviour is present in other rc-files... a general cleanup on
this might be in order.
PR: 194629
Submitted by: Reinier Schoof
Diffstat (limited to 'mail/dovecot2/files')
| -rw-r--r-- | mail/dovecot2/files/dovecot.in | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/mail/dovecot2/files/dovecot.in b/mail/dovecot2/files/dovecot.in index 8c7a91dbe14a..cc5c6f98aa9a 100644 --- a/mail/dovecot2/files/dovecot.in +++ b/mail/dovecot2/files/dovecot.in @@ -48,12 +48,10 @@ restart_cmd() # To start multiple instances of dovecot set dovecot_config to # a space seperated list of configuration files. -if checkyesno ${name}_enable; then - for config in ${dovecot_config}; do - required_files="${config}" - command_args="-c ${config}" - base_dir=$(${command} ${command_args} -a | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }') - pidfile="${base_dir}/master.pid" - run_rc_command "$1" - done -fi +for config in ${dovecot_config}; do + required_files="${config}" + command_args="-c ${config}" + base_dir=$(${command} ${command_args} -a | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }') + pidfile="${base_dir}/master.pid" + run_rc_command "$1" +done |
