From 8b6db37380400376d8d8de04ff8b8acb95652619 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Sun, 17 Dec 2023 16:52:05 -0500 Subject: [PATCH] Restart lnplayserver after image publish. --- deployment/help.txt | 2 +- deployment/project | 2 +- deployment/up.sh | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/deployment/help.txt b/deployment/help.txt index 62a2afb..b2d59c2 100644 --- a/deployment/help.txt +++ b/deployment/help.txt @@ -4,7 +4,7 @@ You are in the Sovereign Stack Management Environment (SSME). From here, you can ss-remote - Take a remote SSH endpoint under management of Sovereign Stack. ss-reset - The opposite of ss-remote; de-provisions an existing remote. ss-up - Instantiate a deployment to your active project according to your - various remote.conf, project.conf, and site.conf files. + various project.conf and site.conf files. ss-down - Reverses ss-up. Takes the active project down. Non-destructive of user data, unless you provide the --purge flag. ss-update - This is just ss-down then ss-up. diff --git a/deployment/project b/deployment/project index b07cbe6..ba3cf94 160000 --- a/deployment/project +++ b/deployment/project @@ -1 +1 @@ -Subproject commit b07cbe6f0fd81d00376ce7dd3a3bb793ba344d45 +Subproject commit ba3cf9425948d156d205758b965b2fc70e63c90b diff --git a/deployment/up.sh b/deployment/up.sh index 8993b50..79a5b51 100755 --- a/deployment/up.sh +++ b/deployment/up.sh @@ -434,6 +434,7 @@ ENABLE_TLS=true BTC_CHAIN=${BITCOIN_CHAIN} CHANNEL_SETUP=none LNPLAY_SERVER_PATH=${SITES_PATH}/${PRIMARY_DOMAIN}/lnplayserver +DEPLOY_PRISM_PLUGIN=true EOL INCUS_VM_NAME="${LNPLAY_SERVER_FQDN//./-}" @@ -446,6 +447,11 @@ EOL # create the incus image. incus publish -q --public "$INCUS_VM_NAME" --alias="$INCUS_VM_NAME" --compression none + + incus start "$INCUS_VM_NAME" + sleep 10 + + bash -c "./wait_for_ip.sh --incus-name=$INCUS_VM_NAME" fi # bring up lnplay services.