1 |
brianr |
1.1 |
diff -ruN mailman-2.1.12-a/misc/mailman.in mailman-2.1.12-b/misc/mailman.in |
2 |
|
|
--- mailman-2.1.12-a/misc/mailman.in 2009-07-28 12:19:53.000000000 +0200 |
3 |
|
|
+++ mailman-2.1.12-b/misc/mailman.in 2009-07-28 12:19:53.000000000 +0200 |
4 |
|
|
@@ -31,6 +31,16 @@ |
5 |
|
|
# processname: mailmanctl |
6 |
|
|
# config: @prefix@/Mailman/mm_cfg.py |
7 |
|
|
# pidfile: @PID_DIR@/master-qrunner.pid |
8 |
|
|
+### BEGIN INIT INFO |
9 |
|
|
+# Provides: mailman |
10 |
|
|
+# Required-Start: $local_fs $remote_fs $network $named |
11 |
|
|
+# Should-Start: httpd |
12 |
|
|
+# Required-Stop: $local_fs $remote_fs $network |
13 |
|
|
+# Default-Start: 3 4 5 |
14 |
|
|
+# Default-Stop: 0 1 6 |
15 |
|
|
+# Short-Description: start and stop Mailman |
16 |
|
|
+# Description: Mailman is the GNU mailing list manager. |
17 |
|
|
+### END INIT INFO |
18 |
|
|
|
19 |
|
|
MAILMANHOME=@prefix@ |
20 |
|
|
MAILMANCTL=$MAILMANHOME/bin/mailmanctl |
21 |
|
|
@@ -118,7 +128,7 @@ |
22 |
|
|
RETVAL=$? |
23 |
|
|
;; |
24 |
|
|
|
25 |
|
|
-'restart') |
26 |
|
|
+'restart'|'force-reload') |
27 |
|
|
restart |
28 |
|
|
RETVAL=$? |
29 |
|
|
;; |
30 |
|
|
@@ -139,7 +149,8 @@ |
31 |
|
|
;; |
32 |
|
|
|
33 |
|
|
*) |
34 |
|
|
- echo $"Usage: $prog {start|stop|restart|condrestart|status}" |
35 |
|
|
+ echo $"Usage: $prog {start|stop|restart|force-reload|condrestart|status}" |
36 |
|
|
+ RETVAL=3 |
37 |
|
|
;; |
38 |
|
|
|
39 |
|
|
esac |