Talk:INIT
From Organic Design wiki
The only things required in INIT are event-hooks (which would never reach a queue if the hooks aren't first established), and nodes like daemonise which are part of the peers own startup phase. All functionality required by items in MAIN can be declared on first use (DOFU).
- conf processes the command-line parameters used to execute the peer (usually on server startup)
- daemonise converts the running peer into a daemon if running unix-like environment environment. Also handles insertion and removal of daemon from server startup.
- servicate converts the running peer into an NT service if running in a Win32 environment. Also integrates the service with the NT service control manager for installation and removal.
- server binds the running peer to a port ready to receive incoming connection events.