Create a Java Daemon

Tom H tomh0665 at gmail.com
Thu Feb 21 13:09:10 UTC 2013


On Wed, Feb 20, 2013 at 12:03 PM, Adam Tong <adam.tongu at gmail.com> wrote:
>
> I am a Java programmer. I want to create a Daemon in Java.
>
> I want to be able to start and stop and check the status of my daemon
> as I do for other services like apache2, I want also the deamon to
> keep running when I close the terminal.
>
> I looked over the net but the information is confusing. Can you tell
> me how should I do that and maybe a link that explains the steps to
> follow?

Take a look at "/etc/init/" and write an upstart job for your daemon.




More information about the ubuntu-users mailing list