View | Details | Raw Unified | Return to bug 194629
Collapse All | Expand All

(-)dovecot (-9 / +7 lines)
Lines 48-59 Link Here
48
48
49
# To start multiple instances of dovecot set dovecot_config to
49
# To start multiple instances of dovecot set dovecot_config to
50
# a space seperated list of configuration files.
50
# a space seperated list of configuration files.
51
if checkyesno ${name}_enable; then
51
for config in ${dovecot_config}; do
52
    for config in ${dovecot_config}; do
52
	required_files="${config}"
53
    	required_files="${config}"
53
	command_args="-c ${config}"
54
    	command_args="-c ${config}"
54
	base_dir=$(${command} ${command_args} -a | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }')
55
    	base_dir=$(${command} ${command_args} -a | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }')
55
	pidfile="${base_dir}/master.pid"
56
    	pidfile="${base_dir}/master.pid"
56
	run_rc_command "$1"
57
    	run_rc_command "$1"
57
done
58
    done
59
if

Return to bug 194629