Restart a DigitalOcean droplet

MARCH 30, 2023

Note that if you restart your Droplet you may have to restart services that are running in the background manually.

# Restart the Droplet now
shutdown -r now

In my case, if Nginx doesn't restart automatically after the restart, I need to run the following commands.

sudo fuser -k 80/tcp && sudo fuser -k 443/tcp
sudo service nginx restart