我遵循了linode的教程,使用(/etc/uwsgi/sites/sample.ini)和(/etc/init/uwsgi.conf)来设置uwsgi,然后它拒绝处理错误:
Failed to start uwsgi.service: Unit uwsgi.service not loaded.
所以我尝试通过删除(/etc/init/uwsgi.conf)来解决此问题,而改用(/etc/systemd/system/uwsgi.service)。现在,我修改了uwsgi.conf,然后我想通过删除(uwsgi.service)返回到旧设置,现在,我无法以错误启动uwsgi:
Failed to start uwsgi.service: Unit uwsgi.service not found