Skip to content

Commit f176967

Browse files
committed
Removed LICENSE_KEY per #40
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
1 parent 46764c2 commit f176967

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docker/entrypoint.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,6 @@ if ! [ -z "${KEYSTORE_TYPE+x}" ]; then
6464
sed -i "s/^keystore\.type\s*=\s*.*\$/keystore.type = ${KEYSTORE_TYPE//\//\\/}/" /opt/connect/conf/mirth.properties
6565
fi
6666

67-
# license key
68-
if ! [ -z "${LICENSE_KEY+x}" ]; then
69-
LINE_COUNT=`grep "license.key" /opt/connect/conf/mirth.properties | wc -l`
70-
if [ $LINE_COUNT -lt 1 ]; then
71-
echo -e "\nlicense.key = ${LICENSE_KEY//\//\\/}" >> /opt/connect/conf/mirth.properties
72-
else
73-
sed -i "s/^license\.key\s*=\s*.*\$/license.key = ${LICENSE_KEY//\//\\/}/" /opt/connect/conf/mirth.properties
74-
fi
75-
fi
76-
7767
# session store
7868
if ! [ -z "${SESSION_STORE+x}" ]; then
7969
LINE_COUNT=`grep "server.api.sessionstore" /opt/connect/conf/mirth.properties | wc -l`

0 commit comments

Comments
 (0)