Installing Daemons

Posted by Shahmir Javaid on Stack Overflow See other posts from Stack Overflow or by Shahmir Javaid
Published on 2010-04-23T19:36:54Z Indexed on 2010/04/23 19:43 UTC
Read the original article Hit count: 513

Filed under:
|

Dear Stackoverflowers,

A simple link would be nice for me to understand how to install my C++ program as a deamon in UNIX, now i know some will say this should be on SERVERFAULT but as far as i understand it i need the init.d shell script to actually create the start and stop for the daemons.

But if you guys can show me a simple shell script for the daemon and the file directories every thing required is associated with, that would be great.

I was going to do this http://www.linux.com/archive/feed/46892 but if you read the comments every one is moaning x( .

P.S. ive already done the required code for C++ to run as a daemon i just need to know how to actually install it as a daemon. At the moment im using crontab which is just not a good idea for the future of my problem.

Thanks in advance

© Stack Overflow or respective owner

Related posts about daemon

Related posts about unix