Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@samuel-pc:~/revamp# systemctl start gunicorn
- Failed to start gunicorn.service: Unit gunicorn.service is not loaded properly: Invalid argument.
- See system logs and 'systemctl status gunicorn.service' for details.
- root@samuel-pc:~/revamp#
- [Unit]
- Description=gunicorn daemon
- After=network.target
- [Service]
- User=root
- Group=www-data
- WorkingDirectory=/root/revamp
- #ExecStart=gunicorn --access-logfile - --workers 3 --bind unix:/root/revamp/rev$
- [Install]
- WantedBy=multi-user.target
- ExecStart=gunicorn --access-logfile - --workers 3 --bind unix:/root/revamp/revamp.sock revamp.wsgi:application
- ● gunicorn.service - gunicorn daemon
- Loaded: error (Reason: Invalid argument)
- Active: inactive (dead)
- 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
- Jun 28 21:48:16 samuel-pc systemd[1]: gunicorn.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
- Jun 28 21:53:29 samuel-pc systemd[1]: gunicorn.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
- 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
- Jun 29 05:05:06 samuel-pc systemd[1]: gunicorn.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
- 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
- Jun 29 05:05:24 samuel-pc systemd[1]: gunicorn.service: Service lacks both ExecStart= and ExecStop= setting. Refusing.
- gunicorn my_project.wsgi:application ...
- which gunicorn
- /usr/local/bin/gunicorn
- ExecStart=/usr/local/bin/gunicorn --access-logfile - --workers 3 [...]
Add Comment
Please, Sign In to add comment