areguera / rpms / mailman

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