Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d Implement "status" command for postfix - makes tool...



details:   https://anonhg.NetBSD.org/src/rev/58b4de6d5c7c
branches:  trunk
changeset: 339464:58b4de6d5c7c
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Jul 23 17:12:16 2015 +0000

description:
Implement "status" command for postfix - makes tools like ansible
happier.

diffstat:

 etc/rc.d/postfix |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r eada8420f535 -r 58b4de6d5c7c etc/rc.d/postfix
--- a/etc/rc.d/postfix  Thu Jul 23 15:43:06 2015 +0000
+++ b/etc/rc.d/postfix  Thu Jul 23 17:12:16 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index