Answers for "create service for gunicorn in linux"

1

create service for gunicorn in linux

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

[Service]
User=ubuntu
Group=ubuntu
WorkingDirectory=/home/ubuntu/myprojectdir
ExecStart=/home/ubuntu/.local/bin/gunicorn --bind 127.0.0.1:8000 app:app

[Install]
WantedBy=multi-user.target
Posted by: Guest on March-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language