Skip to content

Commit

Permalink
Run ExecStartPre as superuser
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
  • Loading branch information
seocam committed Aug 27, 2015
1 parent d9ae2c9 commit 0d143d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc/lib/systemd/system/colab.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Description=Colab

[Service]
User=colab
PermissionsStartOnly=true
ExecStartPre=/usr/bin/mkdir -p /var/lock/colab
ExecStartPre=/usr/bin/chown -R colab:colab /var/lock/colab
ExecStart=/usr/lib/colab/bin/gunicorn colab.wsgi:application --bind=127.0.0.1:8001 --workers=3 --log-syslog --log-syslog-prefix="[gunicorn colab]"
Expand Down

0 comments on commit 0d143d6

Please sign in to comment.