aboutsummaryrefslogtreecommitdiffstats
path: root/security/courier-authlib
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-06-12 04:25:09 +0800
committerkrion <krion@FreeBSD.org>2005-06-12 04:25:09 +0800
commit9e3a23f03fd5617bf686f9f7d0576d8e090401ea (patch)
tree41b6e032c6eae8d07078482219aed49b607ab7eb /security/courier-authlib
parentfa5ef4659ea1fe47b32267e836e6624b1ad38379 (diff)
downloadfreebsd-ports-gnome-9e3a23f03fd5617bf686f9f7d0576d8e090401ea.tar.gz
freebsd-ports-gnome-9e3a23f03fd5617bf686f9f7d0576d8e090401ea.tar.zst
freebsd-ports-gnome-9e3a23f03fd5617bf686f9f7d0576d8e090401ea.zip
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()