--
You received this message because you are subscribed to the Google Groups "Java User Group For Pune, India" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javapune+u...@googlegroups.com.
To post to this group, send email to java...@googlegroups.com.
Visit this group at http://groups.google.com/group/javapune?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "Java User Group For Pune, India" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/javapune/dsNqDqhQmOM/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to javapune+u...@googlegroups.com.
To post to this group, send email to java...@googlegroups.com.
Visit this group at http://groups.google.com/group/javapune?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
1.Put the java command in file and make it executable.
2.copy that script file into init.d dir
3.execute update-rc.d for that script (search on net for syntax)
Thats all!!
--
Try this... Upstart for Ubuntu
1.Put the java command in file and make it executable.
2.copy that script file into init.d dir
3.execute update-rc.d for that script (search on net for syntax)
On Tuesday, March 5, 2013 1:47:01 PM UTC+5:30, Chinmay Walimbe wrote:3.execute update-rc.d for that script (search on net for syntax)
dude! update-rc.d is a poor substitute for chkconfig (borrowed from RHEL tree and not available past Ubuntu 12.04) and an absolute mess in terms of command line options and arguments. I'd avoid this like a rash!
- d--
You received this message because you are subscribed to a topic in the Google Groups "Java User Group For Pune, India" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/javapune/dsNqDqhQmOM/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to javapune+u...@googlegroups.com.
To post to this group, send email to java...@googlegroups.com.
Visit this group at http://groups.google.com/group/javapune?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Java User Group For Pune, India" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javapune+u...@googlegroups.com.
[snip]
I strongly suggest u start with vanilla sys-v init script, then used start-stop-daemon and finally move to upstart / runit like. Those system do additional process supervision for you (i.e they'll restart the process in case it crashes), but since java bootup takes time, and depending upon the servlet container the master process pid might differ u can find strange behavior if you are not certain how its done.
- d--
- d--
Now I realised that, was giving 2007 ka solution! :) Cool. Let me give a try to Upstart
--
You received this message because you are subscribed to a topic in the Google Groups "Java User Group For Pune, India" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/javapune/dsNqDqhQmOM/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to javapune+u...@googlegroups.com.