config/docker/.bashrc in grape-jwt-authentication-2.3.0 vs config/docker/.bashrc in grape-jwt-authentication-2.4.0
- old
+ new
@@ -14,10 +14,12 @@
# Start the supervisord (empty, no units)
sudo supervisord >/dev/null 2>&1 &
# Wait for supervisord
-while ! supervisorctl status >/dev/null 2>&1; do sleep 1; done
+while ! (sudo supervisorctl status | grep avahi) >/dev/null 2>&1; do
+ sleep 1
+done
# Boot the mDNS stack
echo '# Start the mDNS stack'
sudo supervisorctl start dbus avahi
echo