1 |
diff -Nur --no-dereference smeserver-openvpn-s2s-0.2.old/createlinks smeserver-openvpn-s2s-0.2/createlinks |
2 |
--- smeserver-openvpn-s2s-0.2.old/createlinks 2022-07-23 23:12:31.454000000 -0400 |
3 |
+++ smeserver-openvpn-s2s-0.2/createlinks 2022-07-23 23:14:39.042000000 -0400 |
4 |
@@ -41,3 +41,10 @@ |
5 |
event_link("openvpn-s2s-update", $event, "60"); |
6 |
#services we need to restart |
7 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/openvpn-s2s"); |
8 |
+ |
9 |
+use esmith::Build::Backup qw(:all); |
10 |
+backup_includes("smeserver-openvpn-s2s", qw( |
11 |
+/etc/openvpn/s2s/priv |
12 |
+/etc/openvpn/s2s/pub |
13 |
+/var/log/openvpn-s2s |
14 |
+)); |