diff options
| author | lonkaars <loek@pipeframe.xyz> | 2021-04-26 16:00:04 +0200 |
|---|---|---|
| committer | lonkaars <loek@pipeframe.xyz> | 2021-04-26 16:00:04 +0200 |
| commit | 53705a48f3b5991db229a9bc72de9ffd8fe7c861 (patch) | |
| tree | 738e3a20453662708489ee2e406b4e39e2685ab3 /api.systemd.conf | |
| parent | 3a95ac4ad928fbd49abe070cd9cd4e51e21007fb (diff) | |
use uwsgi
Diffstat (limited to 'api.systemd.conf')
| -rw-r--r-- | api.systemd.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api.systemd.conf b/api.systemd.conf index 264eb92..38c45be 100644 --- a/api.systemd.conf +++ b/api.systemd.conf @@ -4,7 +4,7 @@ Description=Connect 4 API [Service] WorkingDirectory={{ connect4_dir }} User={{ connect4_user }} -ExecStart={{ connect4_dir }}/venv/bin/python3 {{ connect4_dir }}/api/main.py +ExecStart={{ connect4_dir }}/venv/bin/uwsgi -H {{ connect4_dir }}/venv {{ connect4_dir }}/uwsgi.ini [Install] WantedBy=multi-user.target |