areguera / rpms / mailman

Forked from rpms/mailman 4 years ago
Clone

Blame SOURCES/mailman-2.1.9-selinux.patch

e7a395
diff -ruN mailman-2.1.12-a/misc/mailman.in mailman-2.1.12-b/misc/mailman.in
e7a395
--- mailman-2.1.12-a/misc/mailman.in	2009-07-28 12:19:49.000000000 +0200
e7a395
+++ mailman-2.1.12-b/misc/mailman.in	2009-07-28 12:19:53.000000000 +0200
e7a395
@@ -32,7 +32,6 @@
e7a395
 # config: @prefix@/Mailman/mm_cfg.py
e7a395
 # pidfile: @PID_DIR@/master-qrunner.pid
e7a395
 
e7a395
-PYTHON=@PYTHON@
e7a395
 MAILMANHOME=@prefix@
e7a395
 MAILMANCTL=$MAILMANHOME/bin/mailmanctl
e7a395
 
e7a395
@@ -75,7 +74,7 @@
e7a395
 function start()
e7a395
 {
e7a395
     echo -n $"Starting $prog: "
e7a395
-    daemon $PYTHON $MAILMANCTL -s -q start
e7a395
+    daemon $MAILMANCTL -s -q start
e7a395
     RETVAL=$?
e7a395
     if [ $RETVAL -eq 0 ]
e7a395
     then
e7a395
@@ -89,7 +88,7 @@
e7a395
 function stop()
e7a395
 {
e7a395
     echo -n $"Shutting down $prog: "
e7a395
-    daemon $PYTHON $MAILMANCTL -q stop
e7a395
+    daemon $MAILMANCTL -q stop
e7a395
     RETVAL=$?
e7a395
     if [ $RETVAL -eq 0 ]
e7a395
     then
e7a395
@@ -125,7 +124,7 @@
e7a395
     ;;
e7a395
 
e7a395
 'condrestart')
e7a395
-    $PYTHON $MAILMANCTL -q -u status
e7a395
+    $MAILMANCTL -q -u status
e7a395
     retval=$?
e7a395
     if [ $retval -eq 0 ]
e7a395
     then
e7a395
@@ -135,7 +134,7 @@
e7a395
     ;;
e7a395
 
e7a395
 'status')
e7a395
-    $PYTHON $MAILMANCTL -u status
e7a395
+    $MAILMANCTL -u status
e7a395
     RETVAL=$?
e7a395
     ;;
e7a395