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

(-)/usr/home/pi/myp/mail/dovecot2/files/dovecot.in (-3 / +5 lines)
Lines 52-58 Link Here
52
for config in ${dovecot_config}; do
52
for config in ${dovecot_config}; do
53
	required_files="${config}"
53
	required_files="${config}"
54
	command_args="-c ${config}"
54
	command_args="-c ${config}"
55
	base_dir=$(${command} ${command_args} -a | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }')
55
	if [ -f ${config} ]; then
56
	pidfile="${base_dir}/master.pid"
56
		base_dir=$(${command} ${command_args} -a | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }')
57
	run_rc_command "$1"
57
		pidfile="${base_dir}/master.pid"
58
		run_rc_command "$1"
59
	fi
58
done
60
done

Return to bug 197275