You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-users@mina.apache.org by David Latorre <dv...@gmail.com> on 2008/09/05 10:03:02 UTC

Re: Recommendation to run in the background under linux?

I guess you can just grep for ftpd.sh to kill the server. If you are using
an applicationserver running , I run ftpserver from a war file with a
context listener; it is a little weird but it works for me ... any problem
with this approach Niklas?

No idea about commons-daemon but it is worth taking a look at.




2008/8/25 Niklas Gustavsson <ni...@protocol7.com>

> On Mon, Aug 25, 2008 at 3:47 PM, Erik Morton <ei...@gmail.com> wrote:
> > Any recommendations for a good way to run the server as a background
> process
> > under linux? I realize I can detach the ftpd.sh script and pipe IO to
> > /dev/null, but I couldn't find the pid file, if any, that it wrote, which
> > would make stopping the server a little harder.
> >
> > I haven't developed real java apps in years so I apologize if this is a
> > stupid question. Thanks in advance.
>
> I haven't yet gotten around to implement daemon scripts based on
> commons daemon. Patches in this area would be most welcome!
>
> /niklas
>

Re: Recommendation to run in the background under linux?

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Fri, Sep 5, 2008 at 10:03 AM, David Latorre <dv...@gmail.com> wrote:
> I guess you can just grep for ftpd.sh to kill the server. If you are using
> an applicationserver running , I run ftpserver from a war file with a
> context listener; it is a little weird but it works for me ... any problem
> with this approach Niklas?

No, should work fine. Report a bug if it doesn't because it is
certainly a feature I would like to work.

/niklas