diff options
Diffstat (limited to 'network/postfix/rc.postfix')
-rw-r--r-- | network/postfix/rc.postfix | 16 |
1 files changed, 12 insertions, 4 deletions
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 |