hrms-api-sso/start.sh
2024-12-16 20:09:22 +07:00

10 lines
191 B
Bash

#!/bin/sh
ssh-keygen -t rsa -b 4096 -m PEM -f BMA -N ""
openssl rsa -in BMA -pubout > BMA.pub.pem
# Start the first app
node ./sso.js &
# Wait for all background processes to finish
wait