Advertisement
vokler

Untitled

Nov 16th, 2022
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. [Unit]
  2. Description=gunicorn daemon
  3. Requires=gunicorn.socket
  4. After=network.target
  5.  
  6. [Service]
  7. User=vokler
  8. Group=www-data
  9. WorkingDirectory=/home/vokler/wishlist-server/wishlist
  10. ExecStart=/home/vokler/wishlist-server/venv/bin/gunicorn \
  11.           --access-logfile - \
  12.           --workers 3 \
  13.           --bind unix:/run/gunicorn.sock \
  14.           wishlist.wsgi:application
  15.  
  16. [Install]
  17. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement