areguera / rpms / mailman

Forked from rpms/mailman 5 years ago
Clone

Blame SOURCES/mailman-2.1.11-fhsinit.patch

7812c9
diff -ruN mailman-2.1.12-a/misc/mailman.in mailman-2.1.12-b/misc/mailman.in
7812c9
--- mailman-2.1.12-a/misc/mailman.in	2009-07-28 12:19:53.000000000 +0200
7812c9
+++ mailman-2.1.12-b/misc/mailman.in	2009-07-28 12:19:53.000000000 +0200
7812c9
@@ -31,6 +31,16 @@
7812c9
 # processname: mailmanctl
7812c9
 # config: @prefix@/Mailman/mm_cfg.py
7812c9
 # pidfile: @PID_DIR@/master-qrunner.pid
7812c9
+### BEGIN INIT INFO
7812c9
+# Provides: mailman
7812c9
+# Required-Start: $local_fs $remote_fs $network $named
7812c9
+# Should-Start: httpd
7812c9
+# Required-Stop: $local_fs $remote_fs $network
7812c9
+# Default-Start: 3 4 5
7812c9
+# Default-Stop: 0 1 6
7812c9
+# Short-Description: start and stop Mailman
7812c9
+# Description: Mailman is the GNU mailing list manager.
7812c9
+### END INIT INFO
7812c9
 
7812c9
 MAILMANHOME=@prefix@
7812c9
 MAILMANCTL=$MAILMANHOME/bin/mailmanctl
7812c9
@@ -118,7 +128,7 @@
7812c9
     RETVAL=$?
7812c9
     ;;
7812c9
 
7812c9
-'restart')
7812c9
+'restart'|'force-reload')
7812c9
     restart
7812c9
     RETVAL=$?
7812c9
     ;;
7812c9
@@ -139,7 +149,8 @@
7812c9
     ;;
7812c9
 
7812c9
 *)
7812c9
-    echo $"Usage: $prog {start|stop|restart|condrestart|status}"
7812c9
+    echo $"Usage: $prog {start|stop|restart|force-reload|condrestart|status}"
7812c9
+    RETVAL=3
7812c9
     ;;
7812c9
 
7812c9
 esac