Answers for "gunicorn launch django cmd"

1

gunicorn launch django cmd

[Unit]
Description=gunicorn socket

[Socket]
ListenStream=/run/gunicorn.sock

[Install]
WantedBy=sockets.target
Posted by: Guest on January-03-2020
1

gunicorn launch django cmd

[Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After=network.target

[Service]
User=sammy
Group=www-data
WorkingDirectory=/home/sammy/myprojectdir
ExecStart=/home/sammy/myprojectdir/myprojectenv/bin/gunicorn \
          --access-logfile - \
          --workers 3 \
          --bind unix:/run/gunicorn.sock \
          myproject.wsgi:application
Posted by: Guest on January-03-2020
0

gunicorn launch django cmd

sudo nano /etc/systemd/system/gunicorn.service
Posted by: Guest on January-03-2020
0

gunicorn launch django cmd

sudo systemctl start gunicorn.socket
sudo systemctl enable gunicorn.socket
Posted by: Guest on January-03-2020
0

gunicorn launch django cmd

sudo systemctl status gunicorn.socket
Posted by: Guest on January-03-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language