Commit 904a9aa3e750f2c7c8ac791bf6c46a45f4016abf

Authored by Sergio Oliveira
1 parent 0ac2bac7
Exists in spb-release/3.0

Run ExecStartPre as superuser

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