|
|
|
|
|
by throwaway892238
1502 days ago
|
|
It's interesting that their bash init uses fg %1. That may return only on the first process changing state, rather than either process exiting. It should probably use this instead: #!/usr/bin/env bash
/app/server &
/app/server -bar &
wait -f -n -p app ; rc=$?
printf "%s: Application '%s' exited: status '%i'\n" "$0" "$app" "$rc"
exit $rc
|
|