This is an automated email from the ASF dual-hosted git repository.

dmysakovets pushed a commit to branch odahu-integration
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/odahu-integration by this push:
     new 6235cef  [odahu-integration] Removed nginx restart command for 
investigation purpose
6235cef is described below

commit 6235cefdb534efcd8186cf5990ec8e385ce30a40
Author: Demyan Mysakovets <[email protected]>
AuthorDate: Wed Mar 11 11:18:55 2020 +0200

    [odahu-integration] Removed nginx restart command for investigation purpose
---
 infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py 
b/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
index f1e7f10..4d3f339 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
@@ -333,13 +333,13 @@ def start_ss(keyfile, host_string, dlab_conf_dir, 
web_path,
                 append_result("Unable to generate cert and copy to java 
keystore")
                 sys.exit(1)
             sudo('service supervisor start')
-            sudo('service nginx restart')
+            #sudo('service nginx restart')
             sudo('service supervisor restart')
             sudo('touch ' + os.environ['ssn_dlab_path'] + 'tmp/ss_started')
     except Exception as err:
         traceback.print_exc()
         print('Failed to start Self-service: ', str(err))
-        #sys.exit(1)
+        sys.exit(1)
 
 
 def install_build_dep():


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to