I dont use lazarus. I only use fpc.

As for the real webserver part i use indy. That part is already working but when starting the server then it blocks the console.

So i thought i need a daemon so i can start the server in the background. Any other alternatives or good documentation on the fpc daemon.pp example?

(btw this is a port from delphi (win32) to fpc (linux). Al that fails that i can start the server in the background so the console remains useable.