django runserver gunicorn code example
Example 1: gunicorn launch django cmd
sudo nano /etc/systemd/system/gunicorn.service
Example 2: gunicorn launch django cmd
sudo systemctl start gunicorn.socket
sudo systemctl enable gunicorn.socket
sudo nano /etc/systemd/system/gunicorn.service
sudo systemctl start gunicorn.socket
sudo systemctl enable gunicorn.socket