/[smecontribs]/rpms/smeserver-freepbx/contribs10/smeserver-freepbx-bz11613-sme10.patch
ViewVC logotype

Diff of /rpms/smeserver-freepbx/contribs10/smeserver-freepbx-bz11613-sme10.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by jpp, Sun Mar 27 20:13:43 2022 UTC Revision 1.4 by jpp, Sun Mar 27 20:19:53 2022 UTC
# Line 1  Line 1 
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
# Line 45  diff -Nur --no-dereference smeserver-fre Line 45  diff -Nur --no-dereference smeserver-fre
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    
# Line 83  diff -Nur --no-dereference smeserver-fre Line 83  diff -Nur --no-dereference smeserver-fre
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");
# Line 92  diff -Nur --no-dereference smeserver-fre Line 95  diff -Nur --no-dereference smeserver-fre
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");


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed