Re: Daemon

Abhishek Tyagi <[email protected]>
Newsgroups gmane.linux.redhat.general
Message-ID <CAPtzR8Ghi6K59zdM2cF3LKWYGS0QwKf3kMBu83pve7s7PYYvsQ@mail.gmail.com>
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 <[email protected]>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" <[email protected]>
> wrote:
>
> > On 12/30/2013 8:11 AM, [email protected] 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
> >> @: [email protected]
> >> ________________________________________
> >> From: [email protected] [[email protected]]
> On
> >> Behalf Of emmanuel segura [[email protected]]
> >> Sent: Monday, December 30, 2013 12:00
> >> To: General Red Hat Linux discussion list
> >> Subject: Re: Daemon
> >>
> >> chkconfig
> >>
> >>
> >> 2013/12/30 PV Juliet<[email protected]>
> >>
> >>  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:[email protected]?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> --
> redhat-list mailing list
> unsubscribe mailto:[email protected]?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Abhishek tyagi
[email protected]
09873924446
-- 
redhat-list mailing list
unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.