Skip to content

Commit

Permalink
Express bugfixing
Browse files Browse the repository at this point in the history
  • Loading branch information
jesdynf committed Mar 27, 2022
1 parent db0d34f commit 95c3fd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/express/ami/ami-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ MYSQLROOTPWD="${1:-root}"
f () {
cd /root
curl -s https://raw.githubusercontent.com/openemr/openemr-devops/master/packages/lightsail/launch.sh | bash -s -- -s 0
# wait for MySQL to spin up
sleep 15
docker exec $(docker ps | grep mysql | cut -f 1 -d " ") mysql --password="$MYSQLROOTPWD" -e "update openemr.users set active=0 where id=1;"
cp openemr-devops/packages/express/ami/ami-rekey.sh /etc/init.d/ami-rekey
update-rc.d ami-rekey defaults
Expand Down

0 comments on commit 95c3fd3

Please sign in to comment.