Re: [CentOS] Creating a user defined service in Cent os

2010-05-24 Thread Marcelo M. Garcia
Chaitanya Yanamadala wrote: > so after creating a file how do i add it to service list. > coz when i create a new file in /etc/init.d it is not appearing in the > services list.. > > Chaitanya > Hi Then you use "chkconfig" to manage when the service will start, something like "chkconfig --add

Re: [CentOS] Creating a user defined service in Cent os

2010-05-24 Thread Steve Huff
On May 24, 2010, at 11:06 AM, Chaitanya Yanamadala wrote: > so after creating a file how do i add it to service list. > coz when i create a new file in /etc/init.d it is not appearing in the > services list.. man chkconfig -steve -- If this were played upon a stage now, I could condemn it a

Re: [CentOS] Creating a user defined service in Cent os

2010-05-24 Thread Chaitanya Yanamadala
thank u marcelo. so after creating a file how do i add it to service list. coz when i create a new file in /etc/init.d it is not appearing in the services list.. Chaitanya "A man can get discouraged many times but he is not a failure until he stops trying..." "The difference between 'involvemen

Re: [CentOS] Creating a user defined service in Cent os

2010-05-24 Thread Marcelo M. Garcia
Chaitanya Yanamadala wrote: > hai all > thank you for your replies. > but can you send me some examples so that i can understand the things > more better.. Hi Have a look in the scripts in /etc/init.d/, some of them can be little bit complex, but worth the time to learn. You can start with /et

Re: [CentOS] Creating a user defined service in Cent os

2010-05-24 Thread Chaitanya Yanamadala
hai all thank you for your replies. but can you send me some examples so that i can understand the things more better.. i am quite new to linux.. so can u help me out. Chaitanya On Mon, May 24, 2010 at 8:03 PM, Jerry McAllister wrote: > On Mon, May 24, 2010 at 07:29:21PM +0530, Chaitanya

Re: [CentOS] Creating a user defined service in Cent os

2010-05-24 Thread Jerry McAllister
On Mon, May 24, 2010 at 07:29:21PM +0530, Chaitanya Yanamadala wrote: > hai > i have a perl script which will automatically check for the existing files > and then ftp them to a server, this one runs in a loop until i kill it, now > what i wants is i want to make this as a service so that it can

Re: [CentOS] Creating a user defined service in Cent os

2010-05-24 Thread Hakan Koseoglu
Hai Chaitanya, On 24 May 2010 14:59, Chaitanya Yanamadala wrote: > hai >  i have a perl script which will automatically check for the existing files > and then ftp them to a server, this one runs in a loop until i kill it, now > what i wants is i want to make this as a service so that it can keep

Re: [CentOS] Creating a user defined service in Cent os

2010-05-24 Thread Brian Mathis
On Mon, May 24, 2010 at 9:59 AM, Chaitanya Yanamadala wrote: > hai >  i have a perl script which will automatically check for the existing files > and then ftp them to a server, this one runs in a loop until i kill it, now > what i wants is i want to make this as a service so that it can keep on >

[CentOS] Creating a user defined service in Cent os

2010-05-24 Thread Chaitanya Yanamadala
hai i have a perl script which will automatically check for the existing files and then ftp them to a server, this one runs in a loop until i kill it, now what i wants is i want to make this as a service so that it can keep on running until i kill the service. so does any one have an idea how to d