Run RoadRunner in docker with exec to ensure signals are properly handled

This commit is contained in:
Alejandro Celaya
2024-10-17 15:03:55 +02:00
parent 51de4b17c0
commit 0635615149
3 changed files with 21 additions and 3 deletions

View File

@@ -26,5 +26,6 @@ fi
php vendor/bin/shlink-installer init ${flags}
if [ "$SHLINK_RUNTIME" = 'rr' ]; then
./bin/rr serve -c config/roadrunner/.rr.yml
# Run with `exec` so that signals are properly handled
exec ./bin/rr serve -c config/roadrunner/.rr.yml
fi