mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-16 11:37:49 +02:00
Fixed docker entrypoint command execution
This commit is contained in:
@ -391,11 +391,14 @@ prepare_proxy() {
|
||||
|
||||
#################################################
|
||||
|
||||
prepare_proxy
|
||||
if [ "${1#-}" != "$1" ]; then
|
||||
set -- /usr/sbin/zabbix_proxy "$@"
|
||||
fi
|
||||
|
||||
echo "########################################################"
|
||||
if [ "$1" == '/usr/sbin/zabbix_proxy' ]; then
|
||||
prepare_proxy
|
||||
fi
|
||||
|
||||
echo "** Executing '$@'"
|
||||
exec "$@"
|
||||
|
||||
#################################################
|
||||
|
Reference in New Issue
Block a user