小编yts*_*jam的帖子

如何将 gunicorn 作为 systemd 守护进程运行

我使用 Arch Linux。我尝试准备 gunicorn 守护进程连接到 nginx。但我仍然收到错误

? gunicorn_yogavidya.service - Yogavidya gunicorn daemon
   Loaded: loaded (/usr/lib/systemd/system/gunicorn_yogavidya.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2016-06-01 20:28:39 BST; 9s ago
  Process: 1301 ExecStart=/html/public_html/yogavidya/gunicorn_start.sh (code=exited, status=203/EXEC)
 Main PID: 1301 (code=exited, status=203/EXEC)

Jun 01 20:28:39 ytsejam systemd[1]: Started Yogavidya gunicorn daemon.
Jun 01 20:28:39 ytsejam systemd[1]: gunicorn_yogavidya.service: Main process exited, code=exited, status=203/EXEC
Jun 01 20:28:39 ytsejam systemd[1]: gunicorn_yogavidya.service: Unit entered failed state.
Jun 01 20:28:39 ytsejam systemd[1]: gunicorn_yogavidya.service: Failed with result 'exit-code'. …
Run Code Online (Sandbox Code Playgroud)

arch-linux systemd daemon

4
推荐指数
1
解决办法
4908
查看次数

标签 统计

arch-linux ×1

daemon ×1

systemd ×1