aboutsummaryrefslogtreecommitdiff
path: root/network/opensmtpd/rc.opensmtpd
diff options
context:
space:
mode:
Diffstat (limited to 'network/opensmtpd/rc.opensmtpd')
-rw-r--r--network/opensmtpd/rc.opensmtpd3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/opensmtpd/rc.opensmtpd b/network/opensmtpd/rc.opensmtpd
index bd4dc25cda046..b75e3c53e4e48 100644
--- a/network/opensmtpd/rc.opensmtpd
+++ b/network/opensmtpd/rc.opensmtpd
@@ -9,7 +9,8 @@ smtpd_start() {
}
smtpd_stop() {
- smtpctl stop || pkill smtpd
+ echo "Stopping OpenSMTPD"
+ /usr/sbin/smtpctl stop 1>/dev/null 2>/dev/null || /usr/bin/pkill smtpd
}
# Restart smtpd: