Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poweroff and reboot #176

Closed
piranna opened this issue Nov 13, 2015 · 7 comments
Closed

Poweroff and reboot #176

piranna opened this issue Nov 13, 2015 · 7 comments

Comments

@piranna
Copy link
Member

piranna commented Nov 13, 2015

Allow to listen on the machine phisical buttons and do a clean poweroff and reboot (sync disk, send SIGKILL...). This is not against the idea that anyone could pull the cord in any moment so developers should design their apps accordingly, but since anyone that has access to the phisical buttons has phisical access to the machine and can do whatever he wants, at least let's do thing well...

@piranna
Copy link
Member Author

piranna commented Nov 25, 2015

I've found when using Ctrl + Alt + Sup on the NodeOS terminal the system automatically reboots as it's done in regular systems, so maybe it's done at kernel level... It's something, but we'll need to update century so it can be able to send SIGTERM to the process so they can end cleanly.

@mitsukaki
Copy link
Contributor

Ctrl + Alt + Sup

What is this Sup key you speak of?

we'll need to update century so it can be able to send SIGTERM to the process so they can end cleanly.

Sounds like a good idea.

@piranna
Copy link
Member Author

piranna commented Nov 26, 2015

What is this Sup key you speak of?

Sup is the spanish translation of Del, sorry :-P

@mitsukaki
Copy link
Contributor

What is this Sup key you speak of?

Sup is the Spanish translation of Del, sorry :-P

It all makes sense now. XD What is the status of docker by the way?

@piranna
Copy link
Member Author

piranna commented Nov 28, 2015

What is the status of docker by the way?

There's a bug on tar-stream that generate tar files that Docket can't be able to process, so no Docker images by the moment, only vagga, sorry.

@mitsukaki
Copy link
Contributor

There's a bug on tar-stream that generate tar files that Docket can't be able to process, so no Docker images by the moment, only vagga, sorry.

All good. I was just curious to see if I could create a new dev environment.

@piranna
Copy link
Member Author

piranna commented Feb 27, 2016

nodeos-init now cleanly manages Ctrl+Alt-Del, so I'm clossing this one. It's needed to force unresponding processes, though...

@piranna piranna closed this as completed Feb 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants