Skip to content

Commit

Permalink
fix(startup): handle signals for graceful shutdown (#59)
Browse files Browse the repository at this point in the history
Use `exec` to execute RabbitMQ's server, so that the server process can
receive signals such as `SIGTERM`.

Closes reanahub/reana-job-controller#347
  • Loading branch information
mdonadoni committed Jan 12, 2024
1 parent 02b3595 commit abb8969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Expand Up @@ -14,4 +14,4 @@ EOF
chown rabbitmq:rabbitmq /var/lib/rabbitmq/mnesia
# Limit maximum number of open file descriptors to avoid high memory usage
ulimit -n 1048576
rabbitmq-server
exec rabbitmq-server

0 comments on commit abb8969

Please sign in to comment.