Revert Docker.sh changes that broke CLI utils.

This commit is contained in:
Buster Neece 2023-02-15 22:21:24 -06:00
parent 159272c5ae
commit ccd754212f
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
1 changed files with 6 additions and 3 deletions

View File

@ -648,7 +648,8 @@ update-self() {
# Usage: ./docker.sh cli [command] # Usage: ./docker.sh cli [command]
# #
cli() { cli() {
exec dc exec --user="azuracast" web azuracast_cli "$@" dc exec --user="azuracast" web azuracast_cli "$@"
exit
} }
# #
@ -656,14 +657,16 @@ cli() {
# Usage: ./docker.sh bash # Usage: ./docker.sh bash
# #
bash() { bash() {
exec dc exec --user="azuracast" web bash dc exec --user="azuracast" web bash
exit
} }
# #
# Enter the MariaDB database management terminal with the correct credentials. # Enter the MariaDB database management terminal with the correct credentials.
# #
db() { db() {
exec dc exec web azuracast_db dc exec web azuracast_db
exit
} }
# #