From 0a34587b399fe4b3c966c31a3811b338e265aa5f Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Fri, 17 May 2024 17:19:20 +0200 Subject: [PATCH] fix config --- src/zabbix-proxy/install-service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zabbix-proxy/install-service.sh b/src/zabbix-proxy/install-service.sh index aeb4b12..023fbc2 100644 --- a/src/zabbix-proxy/install-service.sh +++ b/src/zabbix-proxy/install-service.sh @@ -50,7 +50,7 @@ chmod 600 /var/lib/zabbix/proxy.psk sed -i "s/# TLSConnect=unencrypted/TLSConnect=psk/g" /etc/zabbix/zabbix_proxy.conf sed -i "s/# TLSAccept=unencrypted/TLSAccept=psk/g" /etc/zabbix/zabbix_proxy.conf sed -i "s/# TLSPSKIdentity=/TLSPSKIdentity=${LXC_HOSTNAME}.${LXC_DOMAIN}/g" /etc/zabbix/zabbix_proxy.conf -sed -i "s/# TLSPSKFile=/TLSPSKFile=${psk}/g" /etc/zabbix/zabbix_proxy.conf +sed -i "s/# TLSPSKFile=/TLSPSKFile=/var/lib/zabbix/proxy.psk/g" /etc/zabbix/zabbix_proxy.conf systemctl enable zabbix-proxy