Commit d9ae2c95f192cf17b7751b4324db023ba25fa2e1

Authored by Sergio Oliveira
1 parent 8223bcb5

Made colab service create /var/lock/colab directory

Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
misc/lib/systemd/system/colab.service
... ... @@ -3,7 +3,9 @@ Description=Colab
3 3  
4 4 [Service]
5 5 User=colab
6   -ExecStart=/usr/lib/colab/bin/gunicorn colab.wsgi:application --bind=127.0.0.1:8001 --workers=12 --log-syslog --log-syslog-prefix="[gunicorn colab]"
  6 +ExecStartPre=/usr/bin/mkdir -p /var/lock/colab
  7 +ExecStartPre=/usr/bin/chown -R colab:colab /var/lock/colab
  8 +ExecStart=/usr/lib/colab/bin/gunicorn colab.wsgi:application --bind=127.0.0.1:8001 --workers=3 --log-syslog --log-syslog-prefix="[gunicorn colab]"
7 9 Restart=on-failure
8 10  
9 11 [Install]
... ...