[openqa] Convert line endings to Unix



commit 37d6f3127b2d2d3fc0fadc63049cb8dc4a9612df
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Sep 23 14:17:17 2021 +0200

    Convert line endings to Unix

 entrypoint | 100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)
---
diff --git a/entrypoint b/entrypoint
index 7085b27..e766517 100755
--- a/entrypoint
+++ b/entrypoint
@@ -1,50 +1,50 @@
-ch#!/bin/bash
-set -e
-
-function wait_for_db_creation() {
-  echo "Waiting for DB creation"
-  while ! $(su geekotest -c 'PGPASSWORD=openqa psql -h db -U openqa --list | grep -qe openqa'); do sleep .1; 
done
-}
-
-function scheduler() {
-  su geekotest -c /usr/share/openqa/script/openqa-scheduler-daemon
-}
-
-function websockets() {
-  su geekotest -c /usr/share/openqa/script/openqa-websockets-daemon
-}
-
-function gru() {
-  wait_for_db_creation
-  su geekotest -c /usr/share/openqa/script/openqa-gru
-}
-
-function livehandler() {
-  wait_for_db_creation
-  su geekotest -c /usr/share/openqa/script/openqa-livehandler-daemon
-}
-
-function webui() {
-  wait_for_db_creation
-  su geekotest -c /usr/share/openqa/script/openqa-webui-daemon
-}
-
-function all_together_apache() {
-  # run services
-  /usr/share/openqa/script/openqa-scheduler-daemon &
-  /usr/share/openqa/script/openqa-websockets-daemon &
-  /usr/share/openqa/script/openqa-gru &
-  /usr/share/openqa/script/openqa-livehandler-daemon &
-  apache2ctl start
-  /usr/share/openqa/script/openqa-webui-daemon
-}
-
-# run services
-case "$MODE" in
-  scheduler ) scheduler;;
-  websockets ) websockets;;
-  gru ) gru;;
-  livehandler ) livehandler;;
-  webui ) webui;;
-  * ) all_together_apache;;
-esac
+ch#!/bin/bash
+set -e
+
+function wait_for_db_creation() {
+  echo "Waiting for DB creation"
+  while ! $(su geekotest -c 'PGPASSWORD=openqa psql -h db -U openqa --list | grep -qe openqa'); do sleep .1; 
done
+}
+
+function scheduler() {
+  su geekotest -c /usr/share/openqa/script/openqa-scheduler-daemon
+}
+
+function websockets() {
+  su geekotest -c /usr/share/openqa/script/openqa-websockets-daemon
+}
+
+function gru() {
+  wait_for_db_creation
+  su geekotest -c /usr/share/openqa/script/openqa-gru
+}
+
+function livehandler() {
+  wait_for_db_creation
+  su geekotest -c /usr/share/openqa/script/openqa-livehandler-daemon
+}
+
+function webui() {
+  wait_for_db_creation
+  su geekotest -c /usr/share/openqa/script/openqa-webui-daemon
+}
+
+function all_together_apache() {
+  # run services
+  /usr/share/openqa/script/openqa-scheduler-daemon &
+  /usr/share/openqa/script/openqa-websockets-daemon &
+  /usr/share/openqa/script/openqa-gru &
+  /usr/share/openqa/script/openqa-livehandler-daemon &
+  apache2ctl start
+  /usr/share/openqa/script/openqa-webui-daemon
+}
+
+# run services
+case "$MODE" in
+  scheduler ) scheduler;;
+  websockets ) websockets;;
+  gru ) gru;;
+  livehandler ) livehandler;;
+  webui ) webui;;
+  * ) all_together_apache;;
+esac


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]