Re: Daemon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Awin,

On 29 November 2013 10:20, awin kumar <awin000@xxxxxxxxx> 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:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux