Skip to content

Help with clean shutdown command #13

@Molorius

Description

@Molorius

Host OS: Arch Linux
Local Computer

This isn't an issue so much as a help request. I am starting my server using systemd, but want to be able to cleanly close it without attaching to the docker session and sending 'c_shutdown()'. You can't do a simple docker exec because it's part of an interactive shell, not a direct command. I found this possible solution, so I sent:

echo "c_shutdown()" | docker attach dst_master

But I get the error:

the input device is not a TTY

I'm not familiar with docker, is there another way I can pipe the command into the session?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions