From 8b032965a49d59d763e800568840e20cdac555a0 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Thu, 17 Dec 2020 08:48:29 +0100
Subject: [PATCH] name of service changed and pid file was moved

---
 .gitlab-ci.yml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5edfab6f..2835bf86 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -116,9 +116,9 @@ test_install_debian_package_ubuntu_18:
      - apt-add-repository "deb http://debian-repo/ unstable main" -n
      - apt-get update --allow-insecure-repositories
      - DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated smasch
-#systemd is not available on docker so we need to start manually gunicorn (gunicorn.service is not tested)
+#systemd is not available on docker so we need to start manually gunicorn (smasch.service is not tested)
      - cd /usr/lib/smasch/
-     - /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/gunicorn/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
+     - /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/smasch/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
 #we need to wait a bit for gunicorn start
      - sleep 15
      - wget http://localhost:8888/account/login/?next=/
@@ -145,9 +145,9 @@ test_install_debian_package_ubuntu_20:
      - apt-add-repository "deb http://debian-repo/ unstable main" -n
      - apt-get update --allow-insecure-repositories
      - DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated smasch
-#systemd is not available on docker so we need to start manually gunicorn (gunicorn.service is not tested)
+#systemd is not available on docker so we need to start manually gunicorn (smasch.service is not tested)
      - cd /usr/lib/smasch/
-     - /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/gunicorn/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
+     - /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/smasch/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
 #we need to wait a bit for gunicorn start
      - sleep 15
      - wget http://localhost:8888/account/login/?next=/
@@ -174,9 +174,9 @@ test_install_debian_package_debian_buster:
      - apt-add-repository "deb http://debian-repo/ unstable main"
      - apt-get update --allow-insecure-repositories
      - DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated smasch
-#systemd is not available on docker so we need to start manually gunicorn (gunicorn.service is not tested)
+#systemd is not available on docker so we need to start manually gunicorn (smasch.service is not tested)
      - cd /usr/lib/smasch/
-     - /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/gunicorn/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
+     - /usr/lib/smasch/env/bin/gunicorn -b 127.0.0.1:8888 --pid /run/smasch/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192 &
 #we need to wait a bit for gunicorn start
      - sleep 15
      - wget http://localhost:8888/account/login/?next=/
-- 
GitLab