/[smecontribs]/rpms/mailman/contribs8/mailman-2.1.9-init-directrun.patch
ViewVC logotype

Annotation of /rpms/mailman/contribs8/mailman-2.1.9-init-directrun.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Jul 12 21:04:22 2013 UTC (11 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: mailman-2_1_9-6_el5_6_1, mailman-2_1_9-20_el5_sme, mailman-2_1_9-6_el5_sme_20, HEAD
import new srpm

1 unnilennium 1.1 diff -up mailman-2.1.9/misc/mailman.in.init-directrun mailman-2.1.9/misc/mailman.in
2     --- mailman-2.1.9/misc/mailman.in.init-directrun 2007-12-11 14:27:08.000000000 +0100
3     +++ mailman-2.1.9/misc/mailman.in 2007-12-11 14:27:54.000000000 +0100
4     @@ -32,7 +32,6 @@
5     # config: @prefix@/Mailman/mm_cfg.py
6     # pidfile: @PID_DIR@/master-qrunner.pid
7    
8     -PYTHON=@PYTHON@
9     MAILMANHOME=@prefix@
10     MAILMANCTL=$MAILMANHOME/bin/mailmanctl
11    
12     @@ -75,7 +74,7 @@ prog="mailman"
13     function start()
14     {
15     echo -n $"Starting $prog: "
16     - daemon $PYTHON $MAILMANCTL -s -q start
17     + daemon $MAILMANCTL -s -q start
18     RETVAL=$?
19     if [ $RETVAL -eq 0 ]
20     then
21     @@ -89,7 +88,7 @@ function start()
22     function stop()
23     {
24     echo -n $"Shutting down $prog: "
25     - daemon $PYTHON $MAILMANCTL -q stop
26     + daemon $MAILMANCTL -q stop
27     RETVAL=$?
28     if [ $RETVAL -eq 0 ]
29     then
30     @@ -125,7 +124,7 @@ case "$1" in
31     ;;
32    
33     'condrestart')
34     - $PYTHON $MAILMANCTL -q -u status
35     + $MAILMANCTL -q -u status
36     retval=$?
37     if [ $retval -eq 0 ]
38     then
39     @@ -135,7 +134,7 @@ case "$1" in
40     ;;
41    
42     'status')
43     - $PYTHON $MAILMANCTL -u status
44     + $MAILMANCTL -u status
45     RETVAL=$?
46     ;;
47    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed