New on LowEndTalk? Please Register and read our Community Rules.
Jar File Container?
I am currently using MetaBase for my reporting needs. I am running it from the command line on a VPS java -jar metabase.jar. It runs its Jetty based engine on port 3000 which I call on the browser and it works great.
Is there any container which I could push this jar into so that it would run like a traditional server? Like Tomcat?
Any pointers appreciated.
Thanked by 1wemanageit
Comments
I don't think so.
Probably it would require to rewrite a lot of things of your application.
Maybe the most similar idea could be packaging your app in a docker container.
Screen?
Supervisor is what you are seeking.
I use it for #lowendbox bot
yeah, it has docker integration/ mashup. However, docker needs a newer kernel which my provider does not provide currently. But will keep in mind.
Hmm, sure, I will check it out. Thanks.
Can you please elaborate?
Screen will just keep your program running even if you disconnect from ssh, the right solution is supervisor.
Thanks!
You don't realize how scary a statement that is.
Maybe @jarland can help?
I actually want to post this lol.