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:
parent
abdabbe08a
commit
577bdf19e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137277
@ -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 New Issue
Block a user