Re: [CentOS] Startup script issues

2009-12-01 Thread Robert Bielik
Brian Mathis skrev: > It's helpful to understand that any child process started by a parent > process always inherits the environment of the parent. The cwd > (current working directory) is part of that environment. Any other > environment variables that are exported, such as PATH, etc.. are also

Re: [CentOS] Startup script issues

2009-12-01 Thread Les Mikesell
Robert Bielik wrote: > Brian Mathis skrev: >> On Tue, Dec 1, 2009 at 8:02 AM, Robert Bielik >> wrote: >>> I'm converting Ubuntu startup scripts to work on CentOS (5.3), and I'm >>> having trouble finding out how >>> to start a daemon in a certain directory? For Ubuntu, start-stop-daemon has >>>

Re: [CentOS] Startup script issues

2009-12-01 Thread Brian Mathis
On Tue, Dec 1, 2009 at 10:56 AM, Robert Bielik wrote: > Brian Mathis skrev: >> On Tue, Dec 1, 2009 at 8:02 AM, Robert Bielik >> wrote: >>> I'm converting Ubuntu startup scripts to work on CentOS (5.3), and I'm >>> having trouble finding out how >>> to start a daemon in a certain directory? For

Re: [CentOS] Startup script issues

2009-12-01 Thread Robert Bielik
Brian Mathis skrev: > On Tue, Dec 1, 2009 at 8:02 AM, Robert Bielik > wrote: >> I'm converting Ubuntu startup scripts to work on CentOS (5.3), and I'm >> having trouble finding out how >> to start a daemon in a certain directory? For Ubuntu, start-stop-daemon has >> the option -d to set the >>

Re: [CentOS] Startup script issues

2009-12-01 Thread Brian Mathis
On Tue, Dec 1, 2009 at 8:02 AM, Robert Bielik wrote: > I'm converting Ubuntu startup scripts to work on CentOS (5.3), and I'm having > trouble finding out how > to start a daemon in a certain directory? For Ubuntu, start-stop-daemon has > the option -d to set the > working directory. > > TIA > /