Thu Jul 23 17:12:16 2015 UTC ()
Implement "status" command for postfix - makes tools like ansible
happier.


(riz)
diff -r1.16 -r1.17 src/etc/rc.d/postfix

cvs diff -r1.16 -r1.17 src/etc/rc.d/postfix (expand / switch to context diff)
--- src/etc/rc.d/postfix 2009/04/15 22:11:32 1.16
+++ src/etc/rc.d/postfix 2015/07/23 17:12:16 1.17
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postfix,v 1.16 2009/04/15 22:11:32 perry Exp $
+# $NetBSD: postfix,v 1.17 2015/07/23 17:12:16 riz Exp $
 #
 
 # PROVIDE: mail
@@ -18,7 +18,8 @@
 start_cmd="postfix_op"
 stop_cmd="postfix_op"
 reload_cmd="postfix_op"
-extra_commands="reload"
+status_cmd="postfix_op"
+extra_commands="reload status"
 spooletcdir="/var/spool/${name}/etc"
 postconf="/usr/sbin/postconf"
 required_dirs=$spooletcdir