summaryrefslogtreecommitdiff
path: root/mail/postsrsd/files/postsrsd.in
diff options
context:
space:
mode:
authorKrzysztof <ports@bsdserwis.com>2023-10-08 13:51:42 -1000
committerRomain Tartière <romain@FreeBSD.org>2023-10-08 13:51:42 -1000
commit9ce8c29b90c7d8a5f62fd3dcc8afd48c6aede960 (patch)
tree54c4e21243746ba7ea4f97ce7cdbcf54422a0915 /mail/postsrsd/files/postsrsd.in
parentgraphics/qt6-svg: Bump PORTREVISION after d51e9502ff77 (diff)
mail/postsrsd: Fix `service postsrsd stop` exit code
Also improve integration with the sample configuration file. PR: 274168 Approved by: Krzysztof <ports@bsdserwis.com> (maintainer)
Diffstat (limited to 'mail/postsrsd/files/postsrsd.in')
-rw-r--r--mail/postsrsd/files/postsrsd.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/mail/postsrsd/files/postsrsd.in b/mail/postsrsd/files/postsrsd.in
index 1e0617568447..29a89b8bdefa 100644
--- a/mail/postsrsd/files/postsrsd.in
+++ b/mail/postsrsd/files/postsrsd.in
@@ -22,7 +22,6 @@ name="postsrsd"
rcvar=postsrsd_enable
start_precmd="postsrsd_prepcmd"
-stop_postcmd="postsrsd_postcmd"
command="%%PREFIX%%/sbin/postsrsd"
_piddir="/var/run/postsrsd"
pidfile="${_piddir}/${name}.pid"
@@ -56,12 +55,6 @@ postsrsd_prepcmd ()
fi
}
-postsrsd_postcmd()
-{
- # just if the directory is empty
- rmdir ${_piddir} > /dev/null 2>&1
-}
-
# to let rc.subr kill them all
unset pidfile