diff prod/install-inventory-app.sh @ 402:be08b5a62a77

INV-334: Updated inventory scripts to handle new reset property.
author Jason Klinger <klinger@nwoca.org>
date Fri, 20 May 2022 19:49:19 +0100
parents cf7166c5c52f
children c3f58eddce4f
line wrap: on
line diff
--- a/prod/install-inventory-app.sh	Thu Oct 28 08:04:36 2021 -0400
+++ b/prod/install-inventory-app.sh	Fri May 20 19:49:19 2022 +0100
@@ -33,6 +33,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