How to Daemonize in Linux
<br />One of the things I keep running across is Linux daemons that don’t properly daemonize themselves. To properly daemonize, the following steps must be followed. The fork() call is used to create a separate process.The setsid() call is used to detach t
复制链接