Buat layanan untuk Gunicorn di 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
XeN0N