mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +00:00
auto dedect new es version
This commit is contained in:
parent
dc29c6718c
commit
c5746089f5
@ -103,8 +103,9 @@ function validate {
|
|||||||
# update latest tag compatible es for set and forget
|
# update latest tag compatible es for set and forget
|
||||||
function sync_latest_es {
|
function sync_latest_es {
|
||||||
|
|
||||||
printf "\nsync new es version:\n"
|
VERSION=$(grep "bbilly1/tubearchivist-es" docker-compose.yml | awk '{print $NF}')
|
||||||
read -r VERSION
|
printf "\nsync new ES version %s\nContinue?\n" "$VERSION"
|
||||||
|
read -rn 1
|
||||||
|
|
||||||
if [[ $(systemctl is-active docker) != 'active' ]]; then
|
if [[ $(systemctl is-active docker) != 'active' ]]; then
|
||||||
echo "starting docker"
|
echo "starting docker"
|
||||||
|
Loading…
Reference in New Issue
Block a user