Revert Docker.sh changes that broke CLI utils.
This commit is contained in:
parent
159272c5ae
commit
ccd754212f
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue