hrms-api-sso/start.sh

11 lines
191 B
Bash
Raw Permalink Normal View History

2024-12-16 20:09:22 +07:00
#!/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