Skip to content

Commit f942ae4

Browse files
committed
Fix #134.
Clean up state nginx puns after sssd
1 parent 6b6b17b commit f942ae4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ondemand/entrypoint.sh

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

12-
echo "---> Cleaning NGINX ..."
13-
/opt/ood/nginx_stage/sbin/nginx_stage nginx_clean
14-
1512
echo "---> Populating /etc/ssh/ssh_known_hosts from frontend for ondemand..."
1613
/usr/bin/ssh-keyscan frontend >> /etc/ssh/ssh_known_hosts
1714

@@ -20,6 +17,9 @@ then
2017
rm -f /var/run/sssd.pid
2118
/sbin/sssd --logger=stderr -d 2 -i 2>&1 &
2219

20+
echo "---> Cleaning NGINX ..."
21+
/opt/ood/nginx_stage/sbin/nginx_stage nginx_clean
22+
2323
echo "---> Starting the MUNGE Authentication service (munged) on ondemand ..."
2424
gosu munge /usr/sbin/munged
2525

0 commit comments

Comments
 (0)