Skip to content

Commit b1e1798

Browse files
committed
run nginx clean on start for safe restart
1 parent 9b5bfe4 commit b1e1798

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ondemand/entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ then
99
sleep 2
1010
done
1111

12+
echo "---> Cleaning NGINX ..."
13+
/opt/ood/nginx_stage/sbin/nginx_stage nginx_clean
14+
1215
echo "---> Populating /etc/ssh/ssh_known_hosts from frontend for ondemand..."
1316
/usr/bin/ssh-keyscan frontend >> /etc/ssh/ssh_known_hosts
1417

0 commit comments

Comments
 (0)