1 |
diff -urN smeserver-letsencrypt-0.5.old/root/usr/lib/systemd/system/dehydrated.timer.d/51koozali.conf smeserver-letsencrypt-0.5/root/usr/lib/systemd/system/dehydrated.timer.d/51koozali.conf |
diff -urN smeserver-letsencrypt-0.5.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-dehydrated-timer.preset smeserver-letsencrypt-0.5/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-dehydrated-timer.preset |
2 |
--- smeserver-letsencrypt-0.5.old/root/usr/lib/systemd/system/dehydrated.timer.d/51koozali.conf 1970-01-01 02:00:00.000000000 +0200 |
--- smeserver-letsencrypt-0.5.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-dehydrated-timer.preset 1970-01-01 01:00:00.000000000 +0100 |
3 |
+++ smeserver-letsencrypt-0.5/root/usr/lib/systemd/system/dehydrated.timer.d/51koozali.conf 2022-06-10 10:40:16.641403150 +0300 |
+++ smeserver-letsencrypt-0.5/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/80-koozali-dehydrated-timer.preset 2022-06-11 10:18:04.772723756 +0100 |
4 |
@@ -0,0 +1,3 @@ |
@@ -0,0 +1,12 @@ |
5 |
+[Install] |
+# dehydrated.timer preset |
6 |
+WantedBy= |
+{ |
7 |
|
+# depending on letsencrypt status |
8 |
|
+#$status = $letsencrypt{status} || 'disabled'; |
9 |
|
+#$status = ($status eq "enabled") ? "enable" : "disable"; |
10 |
|
+#$OUT .= "$status dehydrated.timer\n"; |
11 |
|
+ |
12 |
|
+# or always disabled |
13 |
|
+$OUT .= "disable dehydrated.timer\n"; |
14 |
|
+} |
15 |
|
+ |
16 |
+ |
+ |
|
|
|