aboutsummaryrefslogtreecommitdiff
path: root/network/opensmtpd/rc.opensmtpd
diff options
context:
space:
mode:
authorRichard Narron <richard@aaazen.com>2017-05-03 08:46:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-03 08:46:01 +0700
commit1926c11d59d144c0ab8133ae3411e6f7712d4ebc (patch)
tree282766a4db44b33a9fb15a6e840cd2fdaba7e167 /network/opensmtpd/rc.opensmtpd
parentb8a3d224b9fb60f02e780ed7afdc9c6ab2e8d41b (diff)
network/opensmtpd: Misc cleanups.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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: