Support for handling java apps
ka05 opened this issue · 0 comments
This may be way out of scope but could you add support for running java apps?
I have an architecture where my node server interacts with a java server via a socket io connection. My node server is set up already with pod and i have tried several things using the .podhook file in order to get my java server running but it does not appear to be working.
In the java server repo i have a jar file that starts the server which i run via (in the .podhook file):
screen -A -m -d -S java-server sh path/to/repo/start_java_server.sh
when i attempt to reattach to the screen after committing and pushing to the repo there are no screens which leads me to believe that the .podfile is not running due to the fact that i dont have an app.js file in the java server repo. I havent tried adding a app.js file yet, i suppose i could try that but would prefer not to have a useless node service running for the sake for spinning up a java server.
Perhaps we could modify the configuration to allow for repositories with no app.js file?