Fix restart logic in rc.subr(8) start/stop script.

Submitted by:	Alex Lyashkov <umka at sevcity dot net>
This commit is contained in:
Kirill Ponomarev 2005-06-11 20:25:09 +00:00
parent abdabbe08a
commit 577bdf19e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137277

View file

@ -40,7 +40,7 @@ start_cmd="${command} start"
stop_precmd="echo 'Stopping ${name}.'"
stop_cmd="${command} stop"
stop_postcmd="rm -f ${pidfile} ${pidfile}.lock ${socket}"
restart_cmd="${start_cmd} && ${stop_cmd}"
restart_cmd="${stop_cmd} && ${start_cmd}"
required_files="${sysconfdir}/authdaemonrc"
courier_authdaemond_prestart()