Skip to content

Commit

Permalink
Docker: fix RabbitMQ startup
Browse files Browse the repository at this point in the history
  • Loading branch information
tomka committed Jun 28, 2024
1 parent 7876927 commit eb0873e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/docker/catmaid-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ init_catmaid () {
echo "Starting RabbitMQ"
mkdir -p /var/run/rabbitmq
chown rabbitmq /var/run/rabbitmq
service rabbitmq-server start
# Ideally, we'd start RabbitMQ like the following, but this just hangs
# without log files being created: service rabbitmq-server start
/sbin/runuser -u rabbitmq -- /usr/sbin/rabbitmq-server -detached
until wget --spider -t1 -T1 -O /dev/null -q 127.0.0.1:5672; do
sleep 0.1
done
Expand Down

0 comments on commit eb0873e

Please sign in to comment.