/[smeserver]/rpms/smeserver-spamassassin/sme7/smeserver-spamassassin-2.0.0-ServiceNameFix.patch
ViewVC logotype

Contents of /rpms/smeserver-spamassassin/sme7/smeserver-spamassassin-2.0.0-ServiceNameFix.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Nov 26 09:34:44 2008 UTC (16 years ago) by filippocarletti
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_0_0-3_el4_sme, smeserver-spamassassin-2_0_0-2_el4_sme, HEAD
* Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.0.0-2sme
- Fix invalid service name in sa-update [SME: 3304]

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 +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed