Commit 5c7376e3ff105905842285035e0569dc5223587a
1 parent
5bebd24b
Exists in
spb-release/3.0
Made colab service create /var/lock/colab directory
Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
misc/lib/systemd/system/colab.service
... | ... | @@ -3,6 +3,8 @@ Description=Colab |
3 | 3 | |
4 | 4 | [Service] |
5 | 5 | User=colab |
6 | +ExecStartPre=/usr/bin/mkdir -p /var/lock/colab | |
7 | +ExecStartPre=/usr/bin/chown -R colab:colab /var/lock/colab | |
6 | 8 | ExecStart=/usr/lib/colab/bin/gunicorn colab.wsgi:application --bind=127.0.0.1:8001 --workers=3 |
7 | 9 | Restart=on-failure |
8 | 10 | ... | ... |