I don't need to access my Digital Ocean droplet consoles very often, but when I do I usually find that I've forgotten some of the useful console commands, like how to safely restart a droplet.
The following list of commands is to save me from having to Google the answer each and every time I need it. I hope you can find it useful, too.
– sudo shutdown -r now to attempt a graceful restart via the command line.
A forceful reboot should only be used if the droplet cannot be restarted from the command line. This may corrupt data.
From the droplet control panel:
- Select the Power tab
- Select the Power Cycle option
sudo -i -u ghost-mgr