[request] shutdown / reboot server button #160

Open
opened 2026-10-27 09:35:50 +01:00 by adam · 4 comments
Owner

I needed to gracefully shut down my server to change the power plug but I couldn't find a way to do it from the webUI.

I needed to gracefully shut down my server to change the power plug but I couldn't find a way to do it from the webUI. <!-- github-sync-id:5496890073 -->
Author
Owner

ssh:
sudo shutdown

ssh: sudo shutdown <!-- github-comment-id:5732672130 -->
Author
Owner

While yes, you can do it via SSH, having "Reboot" and "Shutdown" options in the web gui would be handy IMO.
It could be handy to be able to reboot from a device without an SSH application (like a phone)

While yes, you can do it via SSH, having "Reboot" and "Shutdown" options in the web gui would be handy IMO. It could be handy to be able to reboot from a device without an SSH application (like a phone) <!-- github-comment-id:5742588676 -->
Author
Owner

You can restart the service from the ui but other options are a little scary to add when these units are being used in towers.

You can restart the service from the ui but other options are a little scary to add when these units are being used in towers. <!-- github-comment-id:5804055047 -->
Author
Owner

While I agree there are definitely risks for tower mounted repeaters, that doesn't negate the want for the buttons, they just need to be a multiple click process. And pretty much all SBC's will boot up on a power cycle, so if its POE or DC powered, you could still cycle that if worst came to worst.

IE:
Shutdown > Are you Sure? (Y/N) > Are you REALLY Sure? (Y/N) actual shutdown
Reboot probably only needs a single confirm.

I would also suggest shutdown be Admin user only, reboot could be a permission based option perhaps?

While I agree there are definitely risks for tower mounted repeaters, that doesn't negate the want for the buttons, they just need to be a multiple click process. And pretty much all SBC's will boot up on a power cycle, so if its POE or DC powered, you could still cycle that if worst came to worst. IE: Shutdown > Are you Sure? (Y/N) > Are you REALLY Sure? (Y/N) *actual shutdown* Reboot probably only needs a single confirm. I would also suggest shutdown be Admin user only, reboot could be a permission based option perhaps? <!-- github-comment-id:5814956167 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/pyMC_Repeater#160