Fix petstore server name in generator.sh script


- updated a name to the actual one: "petstore-server-app"
- add 'set -ex'. Now, if any command fails (returns a non-zero
exit code), the generator.sh script stops running immediately.
- update killServer to avoid exiting in case pidof didn't found
any process.

Change-Id: Ie1bcb25a81f33197bae4b63fc66545d28f61d045
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Rym Bouabid <rym.bouabid@qt.io>
commitce18eb8bc2c34707ba959a6b7b194668ea2869e2
parent923ac80375098082bf03b8e8143765d504aa0fb3
authorTatiana Borisova <tatiana.borisova@qt.io>
committerTatiana Borisova <tatiana.borisova@qt.io>
commit timeThu, 16 Oct 2025 13:32:52 +0000