django run gunicorn app code example
Example 1: gunicorn launch django cmd
[Unit]
Description=gunicorn socket
[Socket]
ListenStream=/run/gunicorn.sock
[Install]
WantedBy=sockets.target
Example 2: gunicorn launch django cmd
sudo nano /etc/systemd/system/gunicorn.service