Commit 0d143d6ad483cdaf9400b69794c3d849f86389c0

Authored by Sergio Oliveira
1 parent d9ae2c95

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 --log-syslog --log-syslog-prefix="[gunicorn colab]"
... ...