From 50f07aecb59a5065dbdb5c63efbd7a4d69f29597 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 11 Nov 2014 16:56:29 -0200 Subject: [PATCH] Add systemd service file --- misc/lib/systemd/system/colab.service | 10 ++++++++++ 1 file changed, 10 insertions(+), 0 deletions(-) create mode 100644 misc/lib/systemd/system/colab.service diff --git a/misc/lib/systemd/system/colab.service b/misc/lib/systemd/system/colab.service new file mode 100644 index 0000000..ef4e92d --- /dev/null +++ b/misc/lib/systemd/system/colab.service @@ -0,0 +1,10 @@ +[Unit] +Description=Colab + +[Service] +User=colab +ExecStart=/usr/lib/colab/bin/gunicorn colab.wsgi:application --bind=127.0.0.1:8001 --workers=3 +Restart=on-failure + +[Install] +WantedBy=multi-user.target -- libgit2 0.21.2