Skip to content

Commit 4110399

Browse files
authored
Merge pull request #137 from johrstrom/fix-ood-restart
run nginx clean on start for safe restart
2 parents 508b32f + b1e1798 commit 4110399

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)