Monday 17 April 2017

Rebooting server

Hey all, I'm having trouble trying to reboot a server using nodeJs. I have an electron app, and I want to reboot a test server when a specific button is pressed. I've looked at simple-ssh and it doesn't seem to have/do a reboot command. I've looked at nodedaemon but I want to incorporate rebooting the server in an html file versus calling it at the command line.Any suggestions? I would need to ssh into the server (hence the simple-ssh), and I was given a hint that I want to do a "sudo reboot 0" command.

Submitted April 17, 2017 at 11:18PM by BrittF41

No comments:

Post a Comment