how can i make my server a deamon

Answer Posted / sandeep patra

creating daemon is very simple in Linux. you just need to
create a child process from its parent process and kill the
parent process. also you should close all the I/O streams.
[as daemon is a background process which is not interactive
in nature].

latter on you can write a init script in /etc/init.d/ to
make it a service.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is ic precaution?

2394


What are advantages and disadvantages of combining the session presentation application layer in the osi model into one single application layer in internet layer?

7226


When we make a call from mobile/landline, how exactly the backend architecuture works?

2415


what ll be the next technology of ufone warid jazz and zong

2096


what is destination translation? what will happen if we don't use VTP?

2563






How do you copy a router IOS to a TFTP host

2397