Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello, I was wondering whether it is better after making changes such as uploading updated files to my droplet (Ubuntu Server) should I do which command for Gunicorn restart:
PID=$(systemctl show --value -p MainPID gunicorn.service) && kill -HUP $PID
or ~
sudo systemctl restart gunicorn
I’ve been using the second command with no issues, but am wondering whether it is better to get the process ID and kill it?
ebeecroft
Noor Bakkal
384d3f11289345379905a243f7b817
IsaacMvd
Ervan Agus
Teckno
dc1bce8262314f84b368813178d9e4
gerard
gerard
Stan Flint