/[smecontribs]/rpms/smeserver-zabbix-server/contribs10/smeserver-zabbix-server-0.1-Template-user-dot-ini-and-override-service-file-change-pid-in-conf-file.patch
ViewVC logotype

Contents of /rpms/smeserver-zabbix-server/contribs10/smeserver-zabbix-server-0.1-Template-user-dot-ini-and-override-service-file-change-pid-in-conf-file.patch

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


Revision 1.1 - (show annotations) (download)
Tue Dec 8 15:58:14 2020 UTC (3 years, 11 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-zabbix-server-0_1-22_el7_sme, smeserver-zabbix-server-0_1-29_el7_sme, smeserver-zabbix-server-0_1-28_el7_sme, smeserver-zabbix-server-0_1-25_el7_sme, smeserver-zabbix-server-0_1-27_el7_sme, smeserver-zabbix-server-0_1-24_el7_sme, smeserver-zabbix-server-0_1-21_el7_sme, smeserver-zabbix-server-0_1-26_el7_sme, smeserver-zabbix-server-0_1-30_el7_sme, smeserver-zabbix-server-0_1-23_el7_sme, smeserver-zabbix-server-0_1-31_el7_sme, HEAD
* Tue Dec 08 2020 Brian Read <brianr@bjsystems.co.uk> 0.1-21.sme
- Template-user-dot-ini-and-override-service-file-change-pid-in-conf-file [SME: 11232]

1 diff -urN smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/etc/zabbix/zabbix_server.conf/60pidAndLog smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_server.conf/60pidAndLog
2 --- smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/etc/zabbix/zabbix_server.conf/60pidAndLog 2009-02-02 19:27:18.000000000 +0000
3 +++ smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_server.conf/60pidAndLog 2020-12-08 10:55:02.211041736 +0000
4 @@ -1,6 +1,6 @@
5 # Name of PID file
6
7 -PidFile=/var/run/zabbix/zabbix.pid
8 +PidFile=/run/zabbix/zabbix_server.pid
9
10 # Name of log file
11 # If not set, syslog is used
12 diff -urN smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/usr/share/zabbix/.user.ini/20zabbix-server smeserver-zabbix-server-0.1/root/etc/e-smith/templates/usr/share/zabbix/.user.ini/20zabbix-server
13 --- smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/usr/share/zabbix/.user.ini/20zabbix-server 1970-01-01 01:00:00.000000000 +0100
14 +++ smeserver-zabbix-server-0.1/root/etc/e-smith/templates/usr/share/zabbix/.user.ini/20zabbix-server 2020-12-08 15:05:57.164855582 +0000
15 @@ -0,0 +1,12 @@
16 +{
17 +my $tz = ${'TimeZone'} || 'Europe/Paris';
18 +$OUT =<<"HERE";
19 +max_execution_time=600
20 +max_input_time=600
21 +memory_limit=256M
22 +date.timezone=$tz
23 +post_max_size=32M
24 +always_populate_raw_post_data=-1
25 +HERE
26 +}
27 +
28 diff -urN smeserver-zabbix-server-0.1.old/root/usr/lib/systemd/system/zabbix-server.service.d/50koozali.conf smeserver-zabbix-server-0.1/root/usr/lib/systemd/system/zabbix-server.service.d/50koozali.conf
29 --- smeserver-zabbix-server-0.1.old/root/usr/lib/systemd/system/zabbix-server.service.d/50koozali.conf 1970-01-01 01:00:00.000000000 +0100
30 +++ smeserver-zabbix-server-0.1/root/usr/lib/systemd/system/zabbix-server.service.d/50koozali.conf 2020-12-08 11:44:15.061939066 +0000
31 @@ -0,0 +1,3 @@
32 +[Install]
33 + WantedBy=sme-server.target
34 +

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