summaryrefslogtreecommitdiff
path: root/security/courier-authlib
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-06-11 20:25:09 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-06-11 20:25:09 +0000
commit577bdf19e8809517f6bd7aac17899c0278002ca5 (patch)
tree2b40c1726872d15ced07127dd6cb10622cd35c0d /security/courier-authlib
parentIGNORE: Hangs during build (diff)
Fix restart logic in rc.subr(8) start/stop script.
Submitted by: Alex Lyashkov <umka at sevcity dot net>
Diffstat (limited to 'security/courier-authlib')
-rw-r--r--security/courier-authlib/files/courier-authdaemond.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/courier-authlib/files/courier-authdaemond.sh.in b/security/courier-authlib/files/courier-authdaemond.sh.in
index b50f491d60e6..75591aede1f7 100644
--- a/security/courier-authlib/files/courier-authdaemond.sh.in
+++ b/security/courier-authlib/files/courier-authdaemond.sh.in
@@ -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()