Module Name: src Committed By: riz Date: Thu Jul 23 17:12:16 UTC 2015
Modified Files: src/etc/rc.d: postfix Log Message: Implement "status" command for postfix - makes tools like ansible happier. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/etc/rc.d/postfix Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/rc.d/postfix diff -u src/etc/rc.d/postfix:1.16 src/etc/rc.d/postfix:1.17 --- src/etc/rc.d/postfix:1.16 Wed Apr 15 22:11:32 2009 +++ src/etc/rc.d/postfix Thu Jul 23 17:12:16 2015 @@ -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_precmd="postfix_precmd" 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