Fix restart logic in rc.subr(8) start/stop script.
Submitted by: Alex Lyashkov <umka at sevcity dot net>
This commit is contained in:
parent
abdabbe08a
commit
577bdf19e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137277
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue