/[smeserver]/rpms/e-smith-dnscache/sme7/e-smith-dnscache-1.0.0-dnscache_forwarder.startup.patch
ViewVC logotype

Contents of /rpms/e-smith-dnscache/sme7/e-smith-dnscache-1.0.0-dnscache_forwarder.startup.patch

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


Revision 1.2 - (show annotations) (download)
Tue Oct 7 18:01:45 2008 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-dnscache-1.0.0/root/var/service/dnscache/run mezzanine_patched_e-smith-dnscache-1.0.0/root/var/service/dnscache/run
2 --- e-smith-dnscache-1.0.0/root/var/service/dnscache/run 2008-08-08 17:21:21.000000000 -0400
3 +++ mezzanine_patched_e-smith-dnscache-1.0.0/root/var/service/dnscache/run 2008-08-08 17:20:40.000000000 -0400
4 @@ -1,6 +1,6 @@
5 #!/usr/bin/perl -w
6 #----------------------------------------------------------------------
7 -# copyright (C) 1999-2005 Mitel Networks Corporation
8 +# copyright (C) 1999-2008 Mitel Networks Corporation
9 #
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 @@ -16,8 +16,6 @@
13 # along with this program; if not, write to the Free Software
14 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15 #
16 -# Technical support for this program is available from Mitel Networks
17 -# Please visit our web site www.mitel.com/sme/ for details.
18 #----------------------------------------------------------------------
19 package esmith;
20
21 @@ -123,6 +121,9 @@
22
23 my $datalimit = $dnscache->prop('DataLimit') || 3000000;
24
25 +# Ensure that forwarder instance is started
26 +system("sv", "u", "/service/dnscache.forwarder");
27 +
28 # http://marc.theaimsgroup.com/?l=djbdns&m=104812086607532&w=2
29 $SIG{'PIPE'} = 'IGNORE';
30 exec("envuidgid", "dnscache", "softlimit", "-o250", "-d", "$datalimit",

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