From daa01f9de13d3dc781592ccae2cd30d372fb3490 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sat, 20 Sep 2014 11:26:33 +0530 Subject: [PATCH] moved startup of openssh-server to appStart function --- assets/init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/init b/assets/init index 790fd5a0..f0246bf8 100755 --- a/assets/init +++ b/assets/init @@ -167,9 +167,6 @@ sed -i 's,HostKey /etc/ssh/,HostKey '"${GITLAB_DATA_DIR}"'/ssh/,g' -i /etc/ssh/s # start supervisord /usr/bin/supervisord -c /etc/supervisor/supervisord.conf -echo "Starting openssh server..." -supervisorctl start sshd >/dev/null - cd ${GITLAB_INSTALL_DIR} # copy configuration templates @@ -520,6 +517,9 @@ chmod 600 ${GITLAB_DATA_DIR}/.ssh/authorized_keys chown -R git:git ${GITLAB_DATA_DIR}/.ssh appStart () { + echo "Starting openssh server..." + supervisorctl start sshd >/dev/null + echo "Starting nginx..." supervisorctl start nginx >/dev/null