Re: Daemon

Hakan Koseoglu <[email protected]>
Newsgroups gmane.linux.redhat.general
Message-ID <CAOTMB+zYbrGj=-cp4BX+wQbh7Uok+DcCe5c=ut9MLKnFeKTFFg@mail.gmail.com>
Awin,

On 29 November 2013 10:20, awin kumar <[email protected]> wrote:
>
> 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

You do not make any sense.

The correct procedure is to write an init script, you can base it on
any of the /etc/init.d/ scripts, then add it to the startup using
chkconfig --add and chkconfig enable commands. The init script will
contain the priority.

SysV style init scripts are around for a long long time, they're not a
recent invention. See various RHEL manuals to get a start on the
subject (start from here if you like
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Services_and_Daemons.html)

-- 
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.