Skip to content

--instance-initiated-shutdown-behavior terminate #122

@turian

Description

@turian

I want to 'spotty stop' my instance after 'spotty run' is down. This saves money of course. But I don't know how.

When run panes are over, you are stuck in a tmux screen with dead pane. I hoped I would be dropped back into my local shell and the next step of my script after 'spotty run' would be 'spotty stop'. However, this doesn't work.

How can I spotty start the instance with --instance-initiated-shutdown-behavior terminate?
Then if 'shutdown' is the last command of run, I can achieve the desired bevahior.

Can you propose a simple effective workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions