Skip to content

Commit

Permalink
fix rabbitmq not starting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico640 committed Jan 30, 2024
1 parent b040d9f commit 304086f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/rabbitmq/run
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
export HOME=/var/lib/rabbitmq
export PATH=$PATH:/opt/rabbitmq/sbin

# Limit max open file descriptors or else RabbitMQ wont't start (#96)
[ $(ulimit -n) -gt 65536 ] && ulimit -n 65536

echo "Starting rabbitmq-server..."
s6-setuidgid unms rabbitmq-server

0 comments on commit 304086f

Please sign in to comment.