Jelajahi Sumber

Work on initial release

Vadim Surkov 6 tahun lalu
induk
melakukan
f7a3be0703
1 mengubah file dengan 2 tambahan dan 11 penghapusan
  1. 2 11
      docker-entrypoint.sh

+ 2 - 11
docker-entrypoint.sh

@@ -23,15 +23,6 @@ sed -i "s/192.168.201.12:27017/${DB_CLUSTER}/" /etc/web-laboratory/application.c
 sed -i "s/192.168.201.13/$(nslookup tasks.${ADMIN_HOST}.${APPNET} | grep Address | tail -n1 | cut -f2 -d' ')/" /etc/web-laboratory/application.conf
 sed -i "s/192.168.201.23/$(nslookup ${HOSTNAME}.${APPNET} | grep Address | tail -n1 | cut -f2 -d' ')/" /etc/web-laboratory/application.conf
 
-#sed -i "s/192\.168\.204\.2x/${HOSTNAME}/" /etc/web-registry-portal/application.conf
-#sed -i "s/communication = \"remote\"/communication = \"socket\"/" /etc/web-registry-portal/application.conf
+source /etc/init.d/web-laboratory status
 
-#echo "#Dummy" >> /etc/rc.d/init.d/functions
-#source /etc/init.d/web-laboratory status
-
-if [ ! -z "$*" ]
-then
-    exec "$@"
-else
-    exec ${WEB_REGISTRY_BIN} ${WEB_REGISTRY_CUSTOM_OPTS} ${WEB_REGISTRY_OPTS}
-fi
+exec "$@"