Re: Daemon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Beside chkconfig you can add your can add in /etc/rc.local as other option.


On Mon, Dec 30, 2013 at 8:33 PM, Abhishek Tyagi <abhishektyagi.dba@xxxxxxxxx
> wrote:

> chkconfig daemon-name-script on -- chkconfig is a permanent on the service
> every reboot the system automatic service  start
>
>
> On Mon, Dec 30, 2013 at 7:30 PM, Corey Kovacs <corey.kovacs@xxxxxxxxx
> >wrote:
>
> > Look at the other in it scripts. At the top you'll see a line that
> pertains
> > to chkconfig. Add a similar line to you script. Then...
> >
> > chkconfig --add yourscript
> > chkconfig yourscript on
> > chkconfig --list yourscript
> >
> > You should then be able to use the chkconfig system. Hope that helps.
> >
> > Corey
> > On Dec 30, 2013 6:56 AM, "Allen Chen" <achen@xxxxxxxxxxxxxxxxxxxxxx>
> > wrote:
> >
> > > On 12/30/2013 8:11 AM, postmaster@xxxxxxxx wrote:
> > >
> > >> Using chkconfig the daemon must be recognized, otherwise it will not
> > work.
> > >>
> > >> With the symlinks it is basic init, and works immediately.
> > >>
> > >> Met vriendelijke groet / kind regards,
> > >>
> > >>
> > >>
> > >> Ron de Kuijer
> > >>
> > >> ICT specialist
> > >>
> > >> T: 06 36 118 555
> > >> F: 030 65 73 903
> > >> @: ryanit@xxxxxxxx
> > >> ________________________________________
> > >> From: redhat-list-bounces@xxxxxxxxxx [redhat-list-bounces@xxxxxxxxxx]
> > On
> > >> Behalf Of emmanuel segura [emi2fast@xxxxxxxxx]
> > >> Sent: Monday, December 30, 2013 12:00
> > >> To: General Red Hat Linux discussion list
> > >> Subject: Re: Daemon
> > >>
> > >> chkconfig
> > >>
> > >>
> > >> 2013/12/30 PV Juliet<pvjuliet@xxxxxxxxx>
> > >>
> > >>  Hi All,
> > >>>       I  put a simple script in init.d which  can  start and stop my
> > >>> daemon.
> > >>> But when i am  booting the machine it's not running. I am able to
> start
> > >>> manually(service name start) .It works fine . Is it possible to
> > possible
> > >>> to
> > >>> run it custom level ?
> > >>> Thanks and Regards
> > >>> Juliet
> > >>>
> > >>>  If you can manually start it, then just put "service name start" in
> > > /etc/rc.d/rc.local
> > >
> > > Allen
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> > >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> --
> Abhishek tyagi
> abhishektyagi.dba@xxxxxxxxx
> 09873924446
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Regards.
Sanjay Chakraborty
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux