On 11/19/2010 09:10 AM, Umut Aydın wrote:
Hello everybody,
I think the job server is ready to test now.
What is the best way to run my job server as a service under Ubuntu Linux?
I couldn't find a chance to test it while I was coding because I'm in
kind of vacation but I can say it works in theory.
I made some little modifications on the article.
https://github.com/naimon/Jobbar
http://umut.mobi/blog/2010/11/11/how-to-build-a-distributed-job-server-with-apache-mina-framework/
By the way, as soon as I get Jobbar works distributed I'll begin to
develop extensions to provide logging, authentication, distributed
processing, caching, data storing, etc. with it. Now I need your
suggestions to make it run in background as other server applications.
Thanks.
I have a Mina app that I run as a daemon. The script is fairly simple.
"start" just launches the app, and "stop" uses netcat to open a socket
to the app and send its shutdown command. (I built a shutdown command
into the app's protocol.)
If you'd like to see the script, just email me offlist.
DR