gunicorn service linux code example
Example: 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