1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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()