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 |
+ |