Daemon
Corey Kovacs
corey.kovacs at gmail.com
Mon Dec 30 14:00:42 UTC 2013
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 at harbourfrontcentre.com> wrote:
> On 12/30/2013 8:11 AM, postmaster at ronno.nl 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 at ronno.nl
>> ________________________________________
>> From: redhat-list-bounces at redhat.com [redhat-list-bounces at redhat.com] On
>> Behalf Of emmanuel segura [emi2fast at gmail.com]
>> Sent: Monday, December 30, 2013 12:00
>> To: General Red Hat Linux discussion list
>> Subject: Re: Daemon
>>
>> chkconfig
>>
>>
>> 2013/12/30 PV Juliet<pvjuliet at gmail.com>
>>
>> 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 at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
More information about the redhat-list
mailing list