1 |
diff -Nur --no-dereference smeserver-isoqlog-2.2.1.old/createlinks smeserver-isoqlog-2.2.1/createlinks |
diff -Nur --no-dereference smeserver-isoqlog-2.2.1.old/createlinks smeserver-isoqlog-2.2.1/createlinks |
2 |
--- smeserver-isoqlog-2.2.1.old/createlinks 2022-07-29 01:45:37.412000000 -0400 |
--- smeserver-isoqlog-2.2.1.old/createlinks 2022-07-29 01:45:37.412000000 -0400 |
3 |
+++ smeserver-isoqlog-2.2.1/createlinks 2022-07-29 02:20:17.939000000 -0400 |
+++ smeserver-isoqlog-2.2.1/createlinks 2022-07-29 02:26:47.095000000 -0400 |
4 |
@@ -6,14 +6,6 @@ |
@@ -6,14 +6,6 @@ |
5 |
|
|
6 |
# Start and stop links |
# Start and stop links |
16 |
|
|
17 |
# Events links |
# Events links |
18 |
templates2events("/etc/httpd/isoqlog-conf/httpd.conf", qw(bootstrap-console-save conf-userpanel domain-modify domain-create)); |
templates2events("/etc/httpd/isoqlog-conf/httpd.conf", qw(bootstrap-console-save conf-userpanel domain-modify domain-create)); |
19 |
@@ -24,11 +16,22 @@ |
@@ -24,11 +16,21 @@ |
20 |
safe_symlink("sigusr1", "root/etc/e-smith/events/domain-modify/services2adjust/httpd-isoqlog"); |
safe_symlink("sigusr1", "root/etc/e-smith/events/domain-modify/services2adjust/httpd-isoqlog"); |
21 |
safe_symlink("sigusr1", "root/etc/e-smith/events/logrotate/services2adjust/httpd-isoqlog"); |
safe_symlink("sigusr1", "root/etc/e-smith/events/logrotate/services2adjust/httpd-isoqlog"); |
22 |
|
|
26 |
-safe_touch("root/var/service/httpd-isoqlog/down"); |
-safe_touch("root/var/service/httpd-isoqlog/down"); |
27 |
|
|
28 |
+my $event="smeserver-isoqlog-update"; |
+my $event="smeserver-isoqlog-update"; |
|
+safe_symlink("reload-or-restart", "root/etc/e-smith/events/$event/services2adjust/httpd-isoqlog"); |
|
29 |
+event_services($event, qw( |
+event_services($event, qw( |
30 |
+ httpd-isoqlog reload-or-restart |
+ httpd-isoqlog reload-or-restart |
31 |
+ httpd-e-smith reload-or-restart |
+ httpd-e-smith reload-or-restart |