Symlink causing Unknown job: gunicorn error

故事扮演 提交于 2019-12-07 22:49:49

问题


I followed the instructions given me here: https://stackoverflow.com/a/29371878/2532070

But the use of a symlink with my gunicorn.conf file is causing my startup script not to work, giving the Unknown job: gunicorn error.

I've tried using init-checkconf /etc/init/gunicorn.conf which returns syntax ok.

I'm guessing there's some kind of error with references or permissions but I can't figure it out via googling or searching here. Thanks for any help!


回答1:


Symlinks don't automatically work if you're using upstart.

The solution was to use:

initctl reload-configuration to enable symlinks with gunicorn



来源:https://stackoverflow.com/questions/29401736/symlink-causing-unknown-job-gunicorn-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!