1 |
diff -Nur --no-dereference smeserver-zoneminder-1.0.old/createlinks smeserver-zoneminder-1.0/createlinks |
2 |
--- smeserver-zoneminder-1.0.old/createlinks 2022-08-01 01:27:23.452000000 -0400 |
3 |
+++ smeserver-zoneminder-1.0/createlinks 2022-08-01 01:28:08.618000000 -0400 |
4 |
@@ -47,3 +47,9 @@ |
5 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); |
6 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init"); |
7 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/zoneminder") |
8 |
+ |
9 |
+use esmith::Build::Backup qw(:all); |
10 |
+backup_includes("smeserver-zoneminder", qw( |
11 |
+/var/lib/zoneminder |
12 |
+/var/log/zoneminder |
13 |
+)); |