Java Mailing List Archive

http://www.redhatconfig.com/

Home » Mandriva Cooker »

Re: [Cooker] initscript : no --background for daemon() ?

Fabrice Facorat

2008-07-07

Replies: Find Java Web Hosting

Author LoginPost Reply
2008/7/7 Vincent Panel <yohonet@(protected)>:
> Hi,
>
> I'm trying to create an initscript for a specific program, but found
> out the program doesn't have any option to stay in the background. I
> thought there was such an option for the daemon function used in
> initscripts, but it seems it doesn't exist. So I tried to put a "&" at
> the end the program's name in the script without much success.
>
> Has any of you already created such an initscript (with a program non
> forking into the background) ? what did you you do in this case ?

Indeed you are right.
In this case, you won't be able to use daemon function, and you will
have to create manually the startup fo the program and add & at the
end :(



--
Close the World, Open the Net
http://www.linux-wizard.net
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.