Guest User

Untitled

a guest
Apr 24th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. root@samuel-pc:~/revamp# systemctl start gunicorn
  2. Failed to start gunicorn.service: Unit gunicorn.service is not loaded properly: Invalid argument.
  3. See system logs and 'systemctl status gunicorn.service' for details.
  4. root@samuel-pc:~/revamp#
  5.  
  6. [Unit]
  7. Description=gunicorn daemon
  8. After=network.target
  9.  
  10. [Service]
  11. User=root
  12. Group=www-data
  13. WorkingDirectory=/root/revamp
  14. #ExecStart=gunicorn --access-logfile - --workers 3 --bind unix:/root/revamp/rev$
  15.  
  16.  
  17. [Install]
  18. WantedBy=multi-user.target
  19.  
  20. ExecStart=gunicorn --access-logfile - --workers 3 --bind unix:/root/revamp/revamp.sock revamp.wsgi:application
  21.  
  22. ● gunicorn.service - gunicorn daemon
  23. Loaded: error (Reason: Invalid argument)
  24. Active: inactive (dead)
  25.  
  26. Jun 28 21:48:16 samuel-pc systemd[1]: [/etc/systemd/system/gunicorn.service:9] Executable path is not absolute, ignoring: gunicorn --access-logfile - --workers 3 --bind unix:/root/revamp/revamp
  27. Jun 28 21:48:16 samuel-pc systemd[1]: gunicorn.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
  28. Jun 28 21:53:29 samuel-pc systemd[1]: gunicorn.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
  29. Jun 29 05:05:06 samuel-pc systemd[1]: [/etc/systemd/system/gunicorn.service:9] Executable path is not absolute, ignoring: gunicorn --access-logfile - --workers 3 --bind unix:/root/revamp/revamp
  30. Jun 29 05:05:06 samuel-pc systemd[1]: gunicorn.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
  31. Jun 29 05:05:24 samuel-pc systemd[1]: [/etc/systemd/system/gunicorn.service:9] Executable path is not absolute, ignoring: gunicorn --access-logfile - --workers 3 --bind unix:/root/revamp/revamp
  32. Jun 29 05:05:24 samuel-pc systemd[1]: gunicorn.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
  33.  
  34. gunicorn my_project.wsgi:application ...
  35.  
  36. which gunicorn
  37.  
  38. /usr/local/bin/gunicorn
  39.  
  40. ExecStart=/usr/local/bin/gunicorn --access-logfile - --workers 3 [...]
Add Comment
Please, Sign In to add comment