How to load environment variables on remote host
I am trying to bring up my application services by doing an SSH to remote host and running the application service startup script.
Though services are getting started, application isn't working as expected.
Upon analysing the startup script, came to know that the script dumps the env output to a file and reads it to bring up the processes. Number of environment variables being written to a file (when SSH is done) is not same as when ran at the terminal (interactive shell)
Could someone let me know how can I address this issue as I need to start the services by running the startup script via SSH.
Thanks and Regards