Selaa lähdekoodia

Модификация docker-entrypoint.sh

wadim 7 vuotta sitten
vanhempi
commit
40677dc63f
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      docker-entrypoint.sh

+ 2 - 2
docker-entrypoint.sh

@@ -15,11 +15,11 @@ sed -i "s/communication = \"remote\"/communication = \"socket\"/" /etc/web-regis
 
 
 echo "#Dummy" >> /etc/rc.d/init.d/functions
 echo "#Dummy" >> /etc/rc.d/init.d/functions
 source /etc/init.d/web-registry-portal status
 source /etc/init.d/web-registry-portal status
-echo "CMD is ${$@}"
+echo "CMD is $@"
 
 
 if [ ! -z "$@" ]
 if [ ! -z "$@" ]
 then
 then
     exec "$@"
     exec "$@"
 else
 else
-    exec ${WEB_REGISTRY_BIN} ${WEB_REGISTRY_OPTS}
+    exec ${WEB_REGISTRY_BIN} ${WEB_REGISTRY_CUSTOM_OPTS} ${WEB_REGISTRY_OPTS}
 fi
 fi