Commit 27a79439219775a7892661ba7b10a50d5f8eb0cc

Authored by Sergio Oliveira
1 parent 904a9aa3
Exists in spb-release/3.0

Allow workers to be configured on /etc/sysconfig/colab

Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
misc/lib/systemd/system/colab.service
... ... @@ -3,10 +3,11 @@ Description=Colab
3 3  
4 4 [Service]
5 5 User=colab
  6 +EnvironmentFile=-/etc/sysconfig/colab
6 7 PermissionsStartOnly=true
7 8 ExecStartPre=/usr/bin/mkdir -p /var/lock/colab
8 9 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
  10 +ExecStart=/usr/lib/colab/bin/gunicorn colab.wsgi:application --bind=127.0.0.1:8001
10 11 Restart=on-failure
11 12  
12 13 [Install]
... ...