1 |
diff -urN smeserver-spamassassin-2.0.0.orig/createlinks smeserver-spamassassin-2.0.0/createlinks |
2 |
--- smeserver-spamassassin-2.0.0.orig/createlinks 2006-03-16 01:41:02.000000000 +0100 |
3 |
+++ smeserver-spamassassin-2.0.0/createlinks 2008-11-25 16:43:58.000000000 +0100 |
4 |
@@ -20,6 +20,7 @@ |
5 |
} |
6 |
|
7 |
safe_symlink("daemontools", "root/etc/rc.d/init.d/spamd"); |
8 |
+service_link_enhanced("spamassassin", "S90", "7"); |
9 |
service_link_enhanced("spamd", "S90", "7"); |
10 |
service_link_enhanced("spamd", "K60", "6"); |
11 |
service_link_enhanced("spamd", "K60", "0"); |
12 |
diff -urN smeserver-spamassassin-2.0.0.orig/root/etc/rc.d/init.d/supervise/spamassassin smeserver-spamassassin-2.0.0/root/etc/rc.d/init.d/supervise/spamassassin |
13 |
--- smeserver-spamassassin-2.0.0.orig/root/etc/rc.d/init.d/supervise/spamassassin 1970-01-01 01:00:00.000000000 +0100 |
14 |
+++ smeserver-spamassassin-2.0.0/root/etc/rc.d/init.d/supervise/spamassassin 2008-11-25 16:45:56.000000000 +0100 |
15 |
@@ -0,0 +1,10 @@ |
16 |
+#!/bin/sh |
17 |
+ |
18 |
+case $1 in |
19 |
+ condrestart) |
20 |
+ sv t /service/spamd |
21 |
+ ;; |
22 |
+esac |
23 |
+ |
24 |
+exit 0 |
25 |
+ |