postfix-mailgraph/rc.postfix-mailgraph

changeset 193
9f27b979db4d
parent 171
b72f2be1f619
     1.1 --- a/postfix-mailgraph/rc.postfix-mailgraph	Thu Apr 23 15:20:21 2009 +0200
     1.2 +++ b/postfix-mailgraph/rc.postfix-mailgraph	Thu Apr 23 15:21:41 2009 +0200
     1.3 @@ -5,6 +5,7 @@
     1.4  
     1.5  %config
     1.6      postfix_mailgraph_enable="$openpkg_rc_def"
     1.7 +    postfix_mailgraph_flags=""
     1.8  
     1.9  %common
    1.10      postfix_mailgraph_pidfile="@l_prefix@/var/postfix-mailgraph/run/mailgraph.pid"
    1.11 @@ -25,7 +26,7 @@
    1.12  %start -u @l_susr@
    1.13      rcService postfix-mailgraph enable yes || exit 0
    1.14      rcService postfix-mailgraph active yes && exit 0
    1.15 -    @l_prefix@/sbin/mailgraph --daemon
    1.16 +    @l_prefix@/sbin/mailgraph --daemon ${postfix_mailgraph_flags}
    1.17  
    1.18  %stop -u @l_susr@
    1.19      rcService postfix-mailgraph enable yes || exit 0
    1.20 @@ -35,7 +36,7 @@
    1.21  %restart -u @l_susr@
    1.22      rcService postfix-mailgraph enable yes || exit 0
    1.23      rcService postfix-mailgraph active no  && exit 0
    1.24 -    postfix_mailgraph_signal TERM
    1.25 +    rc postfix-mailgraph stop
    1.26      sleep 2
    1.27 -    @l_prefix@/sbin/mailgraph --daemon
    1.28 +    rc postfix-mailgraph start
    1.29  

mercurial