Daemon

Willy Wittesaele w2 at skynet.be
Fri Nov 29 10:34:10 UTC 2013


but the question was : how to start it automatically at boot time ?

awin kumar schreef op 29-11-13 11:20:
> and that
>   path sh shellscript name
>
>   inside shell script you mention ./object file name
>   object file
> when you complie c program that time you create one object name
>
> On 11/29/13, awin kumar <awin000 at gmail.com> wrote:
>> yes
>>   path of  the file  sh   and  then mention shellscript name
>>
>> On 11/29/13, Willy Wittesaele <w2 at skynet.be> wrote:
>>> i don't think you want to compile it at startup
>>> but only run it !
>>>
>>> awin kumar schreef op 29-11-13 10:38:
>>>> hi,
>>>>         please create a script file.
>>>>          means
>>>>          create shellscript
>>>>              write inside it
>>>>             gcc  yourprograname.c
>>>> and  that script file mention
>>>> boot up process time
>>>> On 11/29/13, PV Juliet <pvjuliet at gmail.com> wrote:
>>>>> HI All,
>>>>>       I have a c program which run as a daemon in linux. Now i want to
>>>>> start
>>>>> this program  when the system boots up . Can any one tell me simple
>>>>> script
>>>>> which  will run this automatically.
>>>>>
>>>>> Thanks and Regards
>>>>> juliet
>>>>> --
>>>>> 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
>>>
>>
>>
>> --
>> senior software engineer
>> Awin Kumar
>>   ibm india pvt.ltd
>>        bangalore
>>
>
>




More information about the redhat-list mailing list