mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-24 11:20:13 +01:00
fix config
This commit is contained in:
parent
2521cbd14e
commit
0a34587b39
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user