1 |
diff -Nur --no-dereference smeserver-freepbx-13.old/createlinks smeserver-freepbx-13/createlinks |
diff -Nur --no-dereference smeserver-freepbx-13.old/createlinks smeserver-freepbx-13/createlinks |
2 |
--- smeserver-freepbx-13.old/createlinks 2022-03-24 23:13:37.415000000 -0400 |
--- smeserver-freepbx-13.old/createlinks 2022-03-24 23:13:37.415000000 -0400 |
3 |
+++ smeserver-freepbx-13/createlinks 2022-03-27 04:14:51.166000000 -0400 |
+++ smeserver-freepbx-13/createlinks 2022-03-27 16:19:38.048000000 -0400 |
4 |
@@ -4,23 +4,23 @@ |
@@ -4,23 +4,23 @@ |
5 |
|
|
6 |
# Start and stop links |
# Start and stop links |
45 |
templates2events("/etc/httpd/conf/httpd.conf", $event); |
templates2events("/etc/httpd/conf/httpd.conf", $event); |
46 |
templates2events("/etc/httpd/fpbx-conf/httpd.conf", qw(freepbx-update bootstrap-console-save conf-userpanel)); |
templates2events("/etc/httpd/fpbx-conf/httpd.conf", qw(freepbx-update bootstrap-console-save conf-userpanel)); |
47 |
templates2events("/etc/e-smith/sql/init/30freepbx_mysql_create_database", qw(freepbx-update bootstrap-console-save)); |
templates2events("/etc/e-smith/sql/init/30freepbx_mysql_create_database", qw(freepbx-update bootstrap-console-save)); |
48 |
+templates2events("/etc/opt/remi/php70/php-fpm.d/www.conf", $event); |
+#templates2events("/etc/opt/remi/php56/php-fpm.d/www.conf", $event); |
49 |
+ |
+templates2events("/opt/remi/php56/root/etc/php-fpm.d/www.conf", $event); |
50 |
|
|
51 |
event_link("freepbx-checkinstall", $event, "10"); |
event_link("freepbx-checkinstall", $event, "10"); |
52 |
event_link("freepbx-checkinstall-backup", $event, "11"); |
event_link("freepbx-checkinstall-backup", $event, "11"); |
53 |
@@ -48,17 +50,43 @@ |
@@ -48,17 +50,46 @@ |
54 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init"); |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init"); |
55 |
safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); |
safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); |
56 |
safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-fpbx"); |
safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-fpbx"); |
57 |
+safe_symlink("reload-or-restart", "root/etc/e-smith/events/$event/services2adjust/php70-php-fpm"); |
+safe_symlink("reload-or-restart", "root/etc/e-smith/events/$event/services2adjust/php56-php-fpm"); |
58 |
+ |
+ |
59 |
safe_symlink("sigusr1", "root/etc/e-smith/events/logrotate/services2adjust/httpd-fpbx"); |
safe_symlink("sigusr1", "root/etc/e-smith/events/logrotate/services2adjust/httpd-fpbx"); |
60 |
|
|
83 |
+templates2events("/etc/httpd/conf/httpd.conf", $event); |
+templates2events("/etc/httpd/conf/httpd.conf", $event); |
84 |
+templates2events("/etc/httpd/fpbx-conf/httpd.conf", $event); |
+templates2events("/etc/httpd/fpbx-conf/httpd.conf", $event); |
85 |
+templates2events("/etc/e-smith/sql/init/30freepbx_mysql_create_database", $event); |
+templates2events("/etc/e-smith/sql/init/30freepbx_mysql_create_database", $event); |
86 |
+templates2events("/etc/opt/remi/php70/php-fpm.d/www.conf", $event); |
+#templates2events("/etc/opt/remi/php56/php-fpm.d/www.conf", $event); |
87 |
|
+templates2events("/opt/remi/php56/root/etc/php-fpm.d/www.conf", $event); |
88 |
|
+ |
89 |
|
+ |
90 |
+event_link("freepbx-checkinstall", $event, "10"); |
+event_link("freepbx-checkinstall", $event, "10"); |
91 |
+event_link("freepbx-checkinstall-backup", $event, "11"); |
+event_link("freepbx-checkinstall-backup", $event, "11"); |
92 |
+event_link("freepbx-amportal.conf", $event, "91"); |
+event_link("freepbx-amportal.conf", $event, "91"); |
95 |
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init"); |
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init"); |
96 |
+safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); |
+safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); |
97 |
+safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-fpbx"); |
+safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-fpbx"); |
98 |
+safe_symlink("reload-or-restart", "root/etc/e-smith/events/$event/services2adjust/php70-php-fpm"); |
+safe_symlink("reload-or-restart", "root/etc/e-smith/events/$event/services2adjust/php56-php-fpm"); |
99 |
+#action needed in case we have a systemd unit |
+#action needed in case we have a systemd unit |
100 |
+event_link("systemd-default", $event, "88"); |
+event_link("systemd-default", $event, "88"); |
101 |
+event_link("systemd-reload", $event, "89"); |
+event_link("systemd-reload", $event, "89"); |