1 |
jcrisp |
1.1 |
diff -ruN smeserver-ddclient-1.3.0.old/createlinks smeserver-ddclient-1.3.0/createlinks |
2 |
|
|
--- smeserver-ddclient-1.3.0.old/createlinks 2022-01-12 12:54:09.662705166 +0000 |
3 |
|
|
+++ smeserver-ddclient-1.3.0/createlinks 2022-01-12 13:47:21.035044959 +0000 |
4 |
|
|
@@ -11,6 +11,7 @@ |
5 |
|
|
/etc/systemd/system-preset/49-koozali.preset |
6 |
|
|
/etc/ddclient/ddclient.conf |
7 |
|
|
/etc/ppp/ip-up.local |
8 |
|
|
+ /usr/lib/systemd/system/ddclient.service.d/50koozali.conf |
9 |
|
|
)) |
10 |
|
|
{ |
11 |
|
|
templates2events( $file, $event ); |
12 |
|
|
diff -ruN smeserver-ddclient-1.3.0.old/root/etc/e-smith/db/configuration/defaults/ddclient/syslog smeserver-ddclient-1.3.0/root/etc/e-smith/db/configuration/defaults/ddclient/syslog |
13 |
|
|
--- smeserver-ddclient-1.3.0.old/root/etc/e-smith/db/configuration/defaults/ddclient/syslog 1970-01-01 01:00:00.000000000 +0100 |
14 |
|
|
+++ smeserver-ddclient-1.3.0/root/etc/e-smith/db/configuration/defaults/ddclient/syslog 2022-01-12 12:31:16.990659810 +0000 |
15 |
|
|
@@ -0,0 +1 @@ |
16 |
|
|
+enabled |
17 |
|
|
\ No newline at end of file |
18 |
|
|
diff -ruN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service smeserver-ddclient-1.3.0/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service |
19 |
|
|
--- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service 1970-01-01 01:00:00.000000000 +0100 |
20 |
|
|
+++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/20Service 2022-01-12 13:40:13.185544151 +0000 |
21 |
|
|
@@ -0,0 +1,17 @@ |
22 |
|
|
+{ |
23 |
|
|
+$debug = (($ddclient{'debug'} eq 'enabled') ? "debug" : "nodebug"); |
24 |
|
|
+$verbose = (($ddclient{'verbose'} eq 'enabled') ? "verbose" : "noverbose"); |
25 |
|
|
+$quiet = (($ddclient{'quiet'} eq 'enabled') ? "quiet" : "noquiet"); |
26 |
|
|
+$syslog = (($ddclient{'syslog'} eq "enabled") ? "syslog" : "nosyslog"); |
27 |
|
|
+$OUT .= "\n"; |
28 |
|
|
+$OUT .= "[Service]\n"; |
29 |
|
|
+$OUT .= "User=ddclient\n"; |
30 |
|
|
+$OUT .= "Group=ddclient\n"; |
31 |
|
|
+$OUT .= "Type=forking\n"; |
32 |
|
|
+$OUT .= "EnvironmentFile=-\/etc\/sysconfig\/ddclient\n"; |
33 |
|
|
+$OUT .= "ExecStartPre=\n"; |
34 |
|
|
+$OUT .= "ExecStartPre=\/bin\/touch \/var\/cache\/ddclient\/ddclient.cache\n"; |
35 |
|
|
+$OUT .= "ExecStart=\n"; |
36 |
|
|
+$OUT .= "ExecStart=\/usr\/sbin\/ddclient -file \/etc\/ddclient\/ddclient.conf -$debug -$verbose -$quiet -$syslog -pid \/var\/run\/ddclient\/ddclient.pid"; |
37 |
|
|
+$OUT .= "\n"; |
38 |
|
|
+} |
39 |
|
|
diff -ruN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/30Install smeserver-ddclient-1.3.0/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/30Install |
40 |
|
|
--- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/30Install 1970-01-01 01:00:00.000000000 +0100 |
41 |
|
|
+++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/usr/lib/systemd/system/ddclient.service.d/50koozali.conf/30Install 2022-01-12 13:33:43.860891306 +0000 |
42 |
|
|
@@ -0,0 +1,2 @@ |
43 |
|
|
+[Install] |
44 |
|
|
+WantedBy=sme-server.target |
45 |
|
|
diff -ruN smeserver-ddclient-1.3.0.old/root/usr/lib/systemd/system/ddclient.service.d/50koozali.conf smeserver-ddclient-1.3.0/root/usr/lib/systemd/system/ddclient.service.d/50koozali.conf |
46 |
|
|
--- smeserver-ddclient-1.3.0.old/root/usr/lib/systemd/system/ddclient.service.d/50koozali.conf 2022-01-12 12:54:09.649704541 +0000 |
47 |
|
|
+++ smeserver-ddclient-1.3.0/root/usr/lib/systemd/system/ddclient.service.d/50koozali.conf 2022-01-12 12:59:50.237091361 +0000 |
48 |
|
|
@@ -1,6 +1,5 @@ |
49 |
|
|
+ |
50 |
|
|
[Service] |
51 |
|
|
-ExecStart= |
52 |
|
|
-ExecStart=/usr/sbin/ddclient $DDCLIENT_OPTIONS |
53 |
|
|
-[Install] |
54 |
|
|
-WantedBy=sme-server.target |
55 |
|
|
|
56 |
|
|
+ExecStart= |
57 |
|
|
+ExecStart=/usr/sbin/ddclient -file /etc/ddclient/ddclient.conf -debug -verbose -quiet -syslog |