Commit 50f07aecb59a5065dbdb5c63efbd7a4d69f29597

Authored by Antonio Terceiro
1 parent d44dd180

Add systemd service file

Showing 1 changed file with 10 additions and 0 deletions   Show diff stats
misc/lib/systemd/system/colab.service 0 → 100644
@@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
  1 +[Unit]
  2 +Description=Colab
  3 +
  4 +[Service]
  5 +User=colab
  6 +ExecStart=/usr/lib/colab/bin/gunicorn colab.wsgi:application --bind=127.0.0.1:8001 --workers=3
  7 +Restart=on-failure
  8 +
  9 +[Install]
  10 +WantedBy=multi-user.target