1 |
brianr |
1.2 |
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/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/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,12 @@ |
5 |
|
|
+# dehydrated.timer preset |
6 |
|
|
+{ |
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 |
brianr |
1.1 |
+ |