Re: Daemon

Corey Kovacs <[email protected]>
Newsgroups gmane.linux.redhat.general
Message-ID <CAMH2m-qXCrx50M_hJn5FfBsDvFxecAAmZnwZRNb6VsNmmBWAPA@mail.gmail.com>
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
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.