/[smecontribs]/rpms/smeserver-ddclient/contribs10/smeserver-ddclient-1.3.0-Add-DB-entries-for-success-and-failure-notification.patch
ViewVC logotype

Annotation of /rpms/smeserver-ddclient/contribs10/smeserver-ddclient-1.3.0-Add-DB-entries-for-success-and-failure-notification.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Feb 20 11:51:21 2022 UTC (2 years, 8 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-ddclient-1_3_0-27_el7_sme, smeserver-ddclient-1_3_0-31_el7_sme, smeserver-ddclient-1_3_0-23_el7_sme, smeserver-ddclient-1_3_0-24_el7_sme, smeserver-ddclient-1_3_0-32_el7_sme, smeserver-ddclient-1_3_0-34_el7_sme, smeserver-ddclient-1_3_0-33_el7_sme, smeserver-ddclient-1_3_0-26_el7_sme, smeserver-ddclient-1_3_0-30_el7_sme, smeserver-ddclient-1_3_0-29_el7_sme, smeserver-ddclient-1_3_0-28_el7_sme, smeserver-ddclient-1_3_0-25_el7_sme, HEAD
* Sun Feb 20 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.0-23.sme
- Add-DB-entries-for-success-and-failure-notification [SME: 11874]

1 brianr 1.1 diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers
2     --- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers 2020-06-28 09:57:47.000000000 +0100
3     +++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers 2022-02-20 11:17:55.000000000 +0000
4     @@ -3,12 +3,27 @@
5     my $ssl = ${ddclient}{SSL} || 'yes';
6     $OUT .= qq(
7     daemon=$deamonupdate # check every $deamonupdate seconds
8     -syslog=yes # log update msgs to syslog
9     -mail=admin # mail update msgs to admin
10     -mail-failure=admin
11     +syslog=yes # log update msgs to syslog
12     pid=/var/run/ddclient.pid # record PID in file.
13     -ssl=$ssl
14     -#);
15     +ssl=$ssl # Set SSL
16     +);
17     +
18     +
19     + my $mailSuccess = $ddclient{'mailSuccess'}||'admin';
20     +
21     + if (($mailSuccess eq 'none') || ($mailSuccess eq '' )) {
22     + $mailSuccess = "";
23     + }
24     +
25     + my $mailFailure = $ddclient{'mailFailure'}||'admin';
26     +
27     + if (($mailFailure eq 'none') || ($mailFailure eq '')) {
28     + $mailFailure = "";
29     + }
30     +
31     + $OUT .= "\n";
32     + $OUT .= "mail=$mailSuccess\n"; # mail update msgs to admin
33     + $OUT .= "mail-failure=$mailFailure\n";
34    
35     my $method = $ddclient{'method'}||'web';
36     my $webskip = $ddclient{'webskip'}||'IP Address:';

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