When I pip freeze, I do not see Gunicorn. I am wondering where Gunicorn comes from when I run service gunicorn restart/stop. And what is service's relationship with Upstart?
Thanks.
Edit:
I now understand that in service gunicorn restart, gunicorn is just the name of a script (sans the .conf extension) that I place in /etc/init/. service is a command that searches for System-V scripts in /etc/init.d and Upstart scripts in /etc/init.
Can anyone help to see if there are any problems with this table?
|------------------+-------------+-----------+---------------------------------|
| | service | on a Mac |
|------------------+-------------+-----------+---------------------------------|
| actual manager | ? | init(8) | launchd |
| interface | ? | initctl | launchctl |
| name | System-V | Upstart | |
| Script locations | /etc/init.d | /etc/init | ~/Library/LaunchAgents and more |
|------------------+-------------+-----------+---------------------------------|