mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
try again with nginx restart in deploy test docker
This commit is contained in:
parent
820f7882b1
commit
279ec8c019
@ -102,5 +102,4 @@ WORKDIR /app/gradido/deployment/bare_metal
|
||||
RUN echo -e '#!/bin/bash\nshift 0\nexec "$@"' > /usr/local/bin/sudo && \
|
||||
chmod +x /usr/local/bin/sudo
|
||||
SHELL ["/bin/bash", "--login", "-c"]
|
||||
ENV URL_PROTOCOL=http
|
||||
RUN ./start.sh $BRANCH_NAME
|
||||
RUN URL_PROTOCOL=http ./start.sh $BRANCH_NAME
|
||||
|
||||
@ -328,8 +328,7 @@ done
|
||||
log_step 'Configuring nginx to serve gradido again'
|
||||
ln -sf $SCRIPT_DIR/nginx/sites-available/gradido.conf $SCRIPT_DIR/nginx/sites-enabled/default
|
||||
sudo nginx -t
|
||||
sudo /etc/init.d/nginx restart || log_error "Failed to restart nginx $(sudo nginx -t)"
|
||||
log_warn sudo nginx -t
|
||||
sudo /etc/init.d/nginx restart
|
||||
|
||||
# keep the update log
|
||||
cat $UPDATE_HTML >> $GRADIDO_LOG_PATH/update.$TODAY.log
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user