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