added stackscript viewer
This commit is contained in:
1 parent
efa9fee992
commit
09bed31f06
2 files changed
+28
-1
No files matched your search
+1
-1
@@ -160,7 +160,7 @@ if [[ "$SCRIPT_ACTION" == "d" && -n "$LINODE_LABEL" ]]; then
|
||||
# Shut the Linode down cleanly before deleting it, so systemd stops the
|
||||
# Docker container and the Valheim server gets the chance to save the world
|
||||
# rather than being cut off mid-write.
|
||||
echo "Soft Shutting down ID:$INSTANCE_ID..."
|
||||
echo "Soft Shutting down ID:$INSTANCE_ID... Blocking 30s for docker..."
|
||||
curl -s -H "Authorization: Bearer $LINODE_API_KEY" \
|
||||
-X POST https://api.linode.com/v4/linode/instances/$INSTANCE_ID/shutdown | jq .
|
||||
|
||||
|
||||
Reference in new issue
Block a user