How to add a perl script as a system startup daemon in redhat

Abhilash abhi abhilashck72 at gmail.com
Sun Feb 6 05:16:21 UTC 2011


Hi Kyle,

Can you please tellme how to do this in detail.

On Sat, Feb 5, 2011 at 9:37 PM, Kyle O'Donnell <redhat at isprime.org> wrote:

> use a shell script as a wrapper for the perl script?
>
> On Sat, Feb 5, 2011 at 10:54 AM, Abhilash abhi <abhilashck72 at gmail.com
> >wrote:
>
> > Hello,
> >
> > I have a perlscript. I want to run that script at system startup(as a
> > startup daemon) in redhat.
> > i have put that script in /etc/init.d and try adding that to chkconfig
> > using
> > [root at localhost init.d]# chkconfig --add changehttpadress
> > service changehttpadress does not support chkconfig
> > but that wont work since its a perl script(not bash).
> >
> > So how can i run that in system startup. Need to add any daemon modules
> in
> > the perl script so that chkconfig will detect that as a valid service ?
> >
> > Any suggestions and solutions is highly appreciated. Thanks in advance.
> >
> > --
> >
> > Regards,
> > Abhilash
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 

Regards,
Abhilash



More information about the redhat-list mailing list