sameerdhoot / wolweb

Web interface for sending Wake-on-lan (magic packet). An HTTP server built using GoLang and uses Bootstrap for UI.
GNU General Public License v3.0
288 stars 74 forks source link

Add shutdown section #7

Closed charliehoward closed 2 years ago

charliehoward commented 2 years ago

Would be good to have a shutdown section, could use SSH to actually do the shutdown on Linux machines

sameerdhoot commented 2 years ago

@charliehoward Thank you for suggestion. IMO, it will be more complex and will need to store credentials and then comes taking care of securing the application and it's underlying data. Once the machine is up and running you can manage the shutdown from within that host. I used this utility to wake-up host, once up there is a start-up script which runs to perform the builds and then from within the same script I perform shutdown.

Since then I have moved to Jenkins for build automation. However, I still use this to wolweb application to wake my home computer and NAS to perform periodic backups. I manually shutdown them down.

sameerdhoot commented 2 years ago

Please refer to the original project repository from where I started this project. There is a PR submitted for the feature which are asking for.

Remote shutdown with samba tools and WMI