Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. [Unit]
  2. Description=gunicorn daemon
  3. Requires=gunicorn.socket
  4. After=network.target
  5.  
  6. [Service]
  7. User=pi
  8. Group=www-data
  9. Environment=DJANGO_SETTINGS_MODULE=config.settings.production
  10. WorkingDirectory=/home/pi/projects/securedash
  11. ExecStart=/home/pi/.venvs/securedash/bin/gunicorn
  12. --access-logfile -
  13. --log-level debug
  14. --workers 3
  15. --bind unix:/run/gunicorn.sock
  16. config.wsgi:application
  17.  
  18. [Install]
  19. WantedBy=multi-user.target
  20.  
  21. Apr 30 22:31:15 raspberrypi systemd[1]: Started gunicorn daemon.
  22. Apr 30 22:31:15 raspberrypi systemd[1]: gunicorn.service: Main process exited, code=exited, status=210/CHROOT
  23. Apr 30 22:31:15 raspberrypi systemd[1]: gunicorn.service: Unit entered failed state.
  24. Apr 30 22:31:15 raspberrypi systemd[1]: gunicorn.service: Failed with result 'exit-code'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement