1
1
Fork 1

Restart lnplayserver after image publish.

This commit is contained in:
Derek Smith 2023-12-17 16:52:05 -05:00
parent 5dd4de442d
commit 8b6db37380
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
3 changed files with 8 additions and 2 deletions

View File

@ -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.

@ -1 +1 @@
Subproject commit b07cbe6f0fd81d00376ce7dd3a3bb793ba344d45
Subproject commit ba3cf9425948d156d205758b965b2fc70e63c90b

View File

@ -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.