running a program in the background.

I wrote a little server daemon so I can control my a program via the web.
Now only problem is I want to run this daemon in the background.
The normal "./mydaemon &" does the job, however I can't logout of the server when my daemon is running.
I think it's because the daemon is being run from a terminal it attaches itself to a TTY.
Anyone know how daemon processes can be created under linux ?


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion