diff options
Diffstat (limited to 'network/postfix')
-rw-r--r-- | network/postfix/postfix.SlackBuild | 2 | ||||
-rw-r--r-- | network/postfix/rc.postfix | 16 |
2 files changed, 13 insertions, 5 deletions
diff --git a/network/postfix/postfix.SlackBuild b/network/postfix/postfix.SlackBuild index 5b648341cf..7e27650bb6 100644 --- a/network/postfix/postfix.SlackBuild +++ b/network/postfix/postfix.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=postfix VERSION=${VERSION:-2.9.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then diff --git a/network/postfix/rc.postfix b/network/postfix/rc.postfix index 4aa3a6c35d..6e133ad9ec 100644 --- a/network/postfix/rc.postfix +++ b/network/postfix/rc.postfix @@ -22,12 +22,12 @@ postfix_start() { - postfix start + /usr/sbin/postfix start } postfix_stop() { - postfix stop + /usr/sbin/postfix stop } postfix_restart() @@ -38,7 +38,12 @@ postfix_restart() postfix_reload() { - postfix reload + /usr/sbin/postfix reload +} + +postfix_status() +{ + /usr/sbin/postfix status } case $1 in @@ -54,6 +59,9 @@ case $1 in 'reload') postfix_reload ;; +'status') + postfix_status + ;; *) - echo "usage $0 start|stop|restart|reload" + echo "usage $0 start|stop|restart|reload|status" esac |