/[smecontribs]/rpms/smeserver-zabbix-server/contribs10/smeserver-zabbix-server-0.1-bz11232-installSME10.patch
ViewVC logotype

Annotation of /rpms/smeserver-zabbix-server/contribs10/smeserver-zabbix-server-0.1-bz11232-installSME10.patch

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


Revision 1.5 - (hide annotations) (download)
Mon Nov 8 04:26:19 2021 UTC (3 years ago) by jpp
Branch: MAIN
CVS Tags: smeserver-zabbix-server-0_1-29_el7_sme, smeserver-zabbix-server-0_1-28_el7_sme, smeserver-zabbix-server-0_1-27_el7_sme, smeserver-zabbix-server-0_1-30_el7_sme, smeserver-zabbix-server-0_1-31_el7_sme, HEAD
Changes since 1.4: +6 -6 lines
* Sun Nov 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-27.sme
- fix init sql, typo and reload deamon [SME: 11232]

1 jpp 1.1 diff -Nur --no-dereference smeserver-zabbix-server-0.1.old/createlinks smeserver-zabbix-server-0.1/createlinks
2 jpp 1.5 --- smeserver-zabbix-server-0.1.old/createlinks 2021-11-07 23:22:58.003000000 -0500
3     +++ smeserver-zabbix-server-0.1/createlinks 2021-11-07 23:24:36.079000000 -0500
4 jpp 1.4 @@ -42,11 +42,19 @@
5 jpp 1.1 $contrib = "smeserver-zabbix-server";
6     event_actions("$contrib-update", qw(
7     systemd-default 10
8 jpp 1.2 + systemd-reload 12
9 jpp 1.1 + zabbix-server 50
10     ));
11    
12     event_templates("$contrib-update", qw(
13     /etc/httpd/conf/httpd.conf
14     /etc/crontab
15 jpp 1.3 + /etc/rc.d/init.d/masq
16     + /etc/sudoers
17 jpp 1.1 + /etc/e-smith/sql/init/80zabbix-server
18 jpp 1.3 + /etc/zabbix/zabbix.conf.php
19     + /etc/zabbix/web/zabbix.conf.php
20     + /var/lib/zabbix/bin/sendxmpp
21 jpp 1.5 /etc/zabbix/zabbix_server.conf
22 jpp 1.1 /usr/share/zabbix/.user.ini
23     /etc/systemd/system-preset/49-koozali.preset
24 jpp 1.4 @@ -57,6 +65,7 @@
25 jpp 1.1 event_services("$contrib-update", qw(
26     httpd-e-smith sigusr1
27     php74-php-fpm reload
28     - zabbix-server start
29 jpp 1.5 + masq adjust
30 jpp 1.1 + zabbix-server restart
31     ));
32    
33 jpp 1.2 diff -Nur --no-dereference smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-server smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-server
34 jpp 1.5 --- smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-server 2021-11-07 23:22:57.960000000 -0500
35     +++ smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/e-smith/sql/init/80zabbix-server 2021-11-07 23:24:59.971000000 -0500
36 jpp 1.2 @@ -5,7 +5,7 @@
37    
38     my $schema = `rpm -qd zabbix-server-mysql | grep create`;
39     chomp $schema;
40     -my $curcharset=`echo 'show variables like "character_set_database";'|mysql $db|grep character_set_database|sed -r 's/^character_set_database\\s*([a-zA-Z0-9_-]+)/\\1/'`;
41     +my $curcharset= ( -d "/var/lib/mysql/$db" ) ? `echo 'show variables like "character_set_database";'|mysql $db|grep character_set_database|sed -r 's/^character_set_database\\s*([a-zA-Z0-9_-]+)/\\1/'` : "utf8";
42     chomp $curcharset;
43    
44     $OUT .= <<"END";

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