mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
moved startup of openssh-server to appStart function
This commit is contained in:
parent
526d7e9da0
commit
daa01f9de1
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user