/[smeserver]/rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz11087-webapps.patch
ViewVC logotype

Contents of /rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz11087-webapps.patch

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


Revision 1.1 - (show annotations) (download)
Mon Nov 9 02:36:48 2020 UTC (3 years, 11 months ago) by jpp
Branch: MAIN
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.0-15.sme
- improve integration of webapps : virtualhost and event [SME: 11087]

1 diff -Nus smeserver-php-3.0.0.old/createlinks smeserver-php-3.0.0/createlinks
2 --- smeserver-php-3.0.0.old/createlinks 2020-11-08 21:14:58.600000000 -0500
3 +++ smeserver-php-3.0.0/createlinks 2020-11-08 21:29:38.439000000 -0500
4 @@ -105,3 +105,10 @@
5 $service = "php-fpm.service";
6 safe_symlink("../$service", "root/usr/lib/systemd/system/multi-user.target.wants/$service");
7 safe_symlink("../$service", "root/usr/lib/systemd/system/sme-server.target.wants/$service");
8 +
9 +#webapps
10 +$event = 'webapps-update';
11 +templates2events("/etc/my.cnf", $event);
12 +
13 +safe_symlink("start", "root/etc/e-smith/events/$event/services2adjust/mysql.init");
14 +safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
15 Les sous-répertoires smeserver-php-3.0.0.old/root et smeserver-php-3.0.0/root sont identiques

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