Binand Raj S. wrote:

I have a C executable, which I want to run as a
Service just like "httpd" or "mysqld", I guess its
called "DAEMON mode", how should I do this.
I do not want to run it via CRON.

man services.
man xinetd
man xinetd.conf


Would you mind explaining how xinetd makes a C executable run in daemon mode

May be I overlooked or emphasized on running it as service just like "httpd or mysqld".
The statements by OP made me assume that it(the c executable) supports start, stop and restart. So I thought it can be done the way we do for other scripts if different run levels(with Ks and Ss with appropriate entries in sevices) and hoped the man pages will help.
Cheers.
Mahantesh.




-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to