Commit fb0a796d023e61bf8bb73535914ba2cd363abbb7
1 parent
35f1b735
Exists in
master
and in
27 other branches
Moved gunicorn settings to .py file
Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Showing
2 changed files
with
7 additions
and
1 deletions
Show diff stats
misc/lib/systemd/system/colab.service
@@ -6,7 +6,7 @@ User=colab | @@ -6,7 +6,7 @@ User=colab | ||
6 | PermissionsStartOnly=true | 6 | PermissionsStartOnly=true |
7 | ExecStartPre=/usr/bin/mkdir -p /var/lock/colab | 7 | ExecStartPre=/usr/bin/mkdir -p /var/lock/colab |
8 | ExecStartPre=/usr/bin/chown -R colab:colab /var/lock/colab | 8 | ExecStartPre=/usr/bin/chown -R colab:colab /var/lock/colab |
9 | -ExecStart=/usr/lib/colab/bin/gunicorn colab.wsgi:application --bind=127.0.0.1:8001 --workers=3 --log-syslog --log-syslog-prefix="[gunicorn colab]" | 9 | +ExecStart=/usr/lib/colab/bin/gunicorn colab.wsgi:application --config="/etc/colab/gunicorn.py" |
10 | Restart=on-failure | 10 | Restart=on-failure |
11 | 11 | ||
12 | [Install] | 12 | [Install] |