-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to add to the wiki advice on rupy execution settings? #2
Comments
Sure, can you paste the working file you have here https://gist.github.com and reply with the url? |
Yes of course, here it is https://gist.github.com/fgd99/0d1849674968f6ae408a But do you have a better way to do this? Like a service wrapper of anything else that can automatically restart the rupy process? |
Thanks! I think this is the best way to do it. What is your user case? Maybe I can help you from a "out-of-the-box" perspective if you describe your setup/problem? I'm using DNS round robin across a cluster, distributed over multiple physical locations so I'm not as concerned with automatic reboot (I can boot manually in the rare case of a local problem) and if I was having alot of power issues I would probably use a 12v lead-acid battery to avoid instance reboot altogether. |
I have little experience with java web servers in production and I was wondering how to run rupy like I do with node.js with forever (https://github.com/foreverjs/forever) or pm2 (https://github.com/Unitech/pm2). Thank you for this project! |
Ok, interesting. I hope you will appreciate Java more using rupy. The reason I'm not a fan of computers doing things automatically (like terminator for example ;) is that they can sometimes go into some recursive loop that is hard to understand because you can't intuitively sense (visualize) what is occurring since the machines are far away (latency). If that involves storage or integration operations, things can quickly cascade out of control in a massively concurrent and deep hierarchy micro services architecture. All the benefits of the mentioned tools can be had with distribution instead, which also has the benefit of scaling aswell as being redundant and providing instant backup, all at the same time. Try my distributed JSON database if you're interested: http://root.rupy.se |
Most particularly on how to run rupy as a service, with an automatic restart.
For the moment I have tested to do it with an init.d script like this http://stackoverflow.com/questions/11203483/run-a-java-application-as-a-service-on-linux
The text was updated successfully, but these errors were encountered: