diff prod/update-inventory-app.sh @ 406:3508fd2d323a production 2.14.0

flow: Merged <release> '2.14.0' to <master> ('production').
author Jason Klinger <klinger@nwoca.org>
date Fri, 20 May 2022 20:14:22 +0100
parents be08b5a62a77
children c3f58eddce4f
line wrap: on
line diff
--- a/prod/update-inventory-app.sh	Thu Oct 28 07:55:48 2021 -0400
+++ b/prod/update-inventory-app.sh	Fri May 20 20:14:22 2022 +0100
@@ -43,6 +43,10 @@
     dockerRunCommand="$dockerRunCommand -e LETSENCRYPT_EMAIL=$letsencryptEmail"
 fi
 #
+if [ ! -z "$applicationAdminReset" ]; then
+    dockerRunCommand="$dockerRunCommand -e APPLICATION_ADMIN_RESET=$applicationAdminReset"
+fi
+#
 if [ ! -z "$hostPort" ]; then
     dockerRunCommand="$dockerRunCommand -p $hostPort"
 fi