The entry for the daemon
Interface to the goodies. At the moment the given parameters are disregarded. This may change in the future. The functionality of this routine is to fork the started process and continue in the background. This is a little bit tricky because we wrote the stuff in C++, which makes a lot of stuff when a variable is instantiated. We have also problems after the instantiation with lock files and pending signals. To avoid all these problems we must dynamically instantiate the objects when running in the back. Otherwise we have different pid's in the system log and all the bad things mentioned above. After the set-up we only wait for kill signals or a power failure. On a power failure the system will shutdown. To accomplish this task the package have to be started as root. This is normally done with an entry in the rc.local file. Known problems are an incorrect creation of the lock file if started too early. A work-around is to wait some seconds before starting the daemon.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de