/[smeserver]/rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz11325-logging.patch
ViewVC logotype

Contents of /rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz11325-logging.patch

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


Revision 1.1 - (show annotations) (download)
Wed Jan 27 20:08:45 2021 UTC (3 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-44_el7_sme, smeserver-php-3_0_0-47_el7_sme, smeserver-php-3_0_0-31_el7_sme, smeserver-php-3_0_0-25_el7_sme, smeserver-php-3_0_0-28_el7_sme, smeserver-php-3_0_0-45_el7_sme, smeserver-php-3_0_0-48_el7_sme, smeserver-php-3_0_0-43_el7_sme, smeserver-php-3_0_0-46_el7_sme, smeserver-php-3_0_0-41_el7_sme, smeserver-php-3_0_0-30_el7_sme, smeserver-php-3_0_0-29_el7_sme, smeserver-php-3_0_0-42_el7_sme, smeserver-php-3_0_0-24_el7_sme, smeserver-php-3_0_0-34_el7_sme, smeserver-php-3_0_0-37_el7_sme, smeserver-php-3_0_0-40_el7_sme, smeserver-php-3_0_0-35_el7_sme, smeserver-php-3_0_0-26_el7_sme, smeserver-php-3_0_0-32_el7_sme, smeserver-php-3_0_0-38_el7_sme, smeserver-php-3_0_0-27_el7_sme, smeserver-php-3_0_0-39_el7_sme, smeserver-php-3_0_0-36_el7_sme, smeserver-php-3_0_0-33_el7_sme, smeserver-php-3_0_0-23_el7_sme, HEAD
* Wed Jan 27 2021 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.0-23.sme
- fix php55 logrotate [SME: 11325]
- cleanup remove services in sme-server.target.wants [SME: 10956]
- remove usr/lib preset file from rpm [SME: 10958]

1 diff -Nur smeserver-php-3.0.0.old/createlinks smeserver-php-3.0.0/createlinks
2 --- smeserver-php-3.0.0.old/createlinks 2021-01-27 14:54:05.207000000 -0500
3 +++ smeserver-php-3.0.0/createlinks 2021-01-27 15:02:43.241000000 -0500
4 @@ -115,14 +115,14 @@
5
6
7 # systemd units
8 -foreach $ver (qw( 55 56 70 71 72 73 74 )){
9 -$service = "php$ver-php-fpm.service";
10 -safe_symlink("../$service", "root/usr/lib/systemd/system/multi-user.target.wants/$service");
11 -safe_symlink("../$service", "root/usr/lib/systemd/system/sme-server.target.wants/$service");
12 -}
13 -$service = "php-fpm.service";
14 -safe_symlink("../$service", "root/usr/lib/systemd/system/multi-user.target.wants/$service");
15 -safe_symlink("../$service", "root/usr/lib/systemd/system/sme-server.target.wants/$service");
16 +#foreach $ver (qw( 55 56 70 71 72 73 74 )){
17 +#$service = "php$ver-php-fpm.service";
18 +#safe_symlink("../$service", "root/usr/lib/systemd/system/multi-user.target.wants/$service");
19 +#safe_symlink("../$service", "root/usr/lib/systemd/system/sme-server.target.wants/$service");
20 +#}
21 +#$service = "php-fpm.service";
22 +#safe_symlink("../$service", "root/usr/lib/systemd/system/multi-user.target.wants/$service");
23 +#safe_symlink("../$service", "root/usr/lib/systemd/system/sme-server.target.wants/$service");
24
25 #webapps
26 $event = 'webapps-update';
27 diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32php smeserver-php-3.0.0/root/etc/e-smith/templates/etc/rsyslog.conf/32php
28 --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32php 2021-01-27 14:54:05.195000000 -0500
29 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/rsyslog.conf/32php 2021-01-27 14:56:10.173000000 -0500
30 @@ -4,6 +4,8 @@
31 :programname, isequal, "php" stop
32 :programname, startswith, "php-fpm" /var/log/php/php/php-fpm.log
33 :programname, startswith, "php-fpm" stop
34 +:programname, startswith, "php55-fpm" /var/log/php/php55/php55-fpm.log
35 +:programname, startswith, "php55-fpm" stop
36 :programname, startswith, "php56-fpm" /var/log/php/php56/php56-fpm.log
37 :programname, startswith, "php56-fpm" stop
38 :programname, startswith, "php70-fpm" /var/log/php/php70/php70-fpm.log

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