Hi Folks, I'd like to use "start-stop-daemon" on my centos-machine. I know , it's debian-like. But I can't find "startproc" on my machine nor in the repos. What is the CentOS-replacement for "start-stop-daemon"? Thx Timothy P.S. I found a start-stop-daemon.c script - but how to compile it? gcc start-stop-daemon.c ends in much errors.
thus Timothy Kesten spake:> Hi Folks, > > I'd like to use "start-stop-daemon" on my centos-machine. > I know , it's debian-like. > But I can't find "startproc" on my machine nor in the repos. > > What is the CentOS-replacement for "start-stop-daemon"? > > Thx > > Timothy > > P.S. I found a start-stop-daemon.c script - but how to compile it? > > gcc start-stop-daemon.c > > ends in much errors.Do you have some more details, e.g. gcc's fall-out (error messages)? Timo
On Sun, Apr 4, 2010 at 11:13 AM, Timothy Kesten <centos-lst at gmx.de> wrote:> Hi Folks, > > I'd like to use ?"start-stop-daemon" on my centos-machine. > I know , it's debian-like. > But I can't find "startproc" on my machine nor in the repos. > > What is the CentOS-replacement for "start-stop-daemon"?There's no real equivalent, but the "service" command is the main method of starting/stopping processes/daemons. In itself it doesn't do what the start-stop-daemon does, but the scripts associated with the service utility can be customized to mimic some similar functions.
Timothy Kesten wrote on Sun, 4 Apr 2010 17:13:17 +0200:> What is the CentOS-replacement for "start-stop-daemon"?You are not looking for "service", are you? Kai -- Get your web at Conactive Internet Services: http://www.conactive.com