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 <[EMAIL PROTECTED]> > On Mon, Aug 25, 2008 at 3:47 PM, Erik Morton <[EMAIL PROTECTED]> 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 >
