1 |
diff -Nur --no-dereference smeserver-fail2ban-0.1.18.old/createlinks smeserver-fail2ban-0.1.18/createlinks |
2 |
--- smeserver-fail2ban-0.1.18.old/createlinks 2022-07-22 03:18:59.246000000 -0400 |
3 |
+++ smeserver-fail2ban-0.1.18/createlinks 2022-07-22 03:20:24.333000000 -0400 |
4 |
@@ -19,7 +19,6 @@ |
5 |
event_link("systemd-reload", $event, "50"); |
6 |
|
7 |
#action specific to this package |
8 |
-#event_link("some event", $event, "30"); |
9 |
#services we need to restart |
10 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/masq"); |
11 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/fail2ban"); |
12 |
@@ -48,9 +47,6 @@ |
13 |
|
14 |
safe_touch("root/var/log/fail2ban/daemon.log"); |
15 |
|
16 |
-#service_link_enhanced("fail2ban", "S99", "7"); |
17 |
-#service_link_enhanced("fail2ban", "K08", "6"); |
18 |
-#service_link_enhanced("fail2ban", "K08", "0"); |
19 |
|
20 |
# for smeserver-manager |
21 |
my $event = "smeserver-fail2ban-update"; |
22 |
@@ -58,3 +54,13 @@ |
23 |
event_link('navigation2-conf', "$event", '80'); |
24 |
event_link('routes2-conf', "$event", '80'); |
25 |
event_link('locales2-conf', "$event", '80'); |
26 |
+ |
27 |
+use esmith::Build::Backup qw(:all); |
28 |
+backup_includes("smeserver-letsencrypt", qw( |
29 |
+/etc/dehydrated/ |
30 |
+)); |
31 |
+ |
32 |
+backup_excludes("smeserver-letsencrypt", qw( |
33 |
+/etc/dehydrated/config |
34 |
+/etc/dehydrated/domains.txt |
35 |
+)); |