+ Bacula® is a registered trademark of Kern Sibbald.
+ The licensor of Bacula is the Free Software Foundation Europe
+ (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
+ Switzerland, email:ftf@fsfeurope.org.
+*/
+/*
+ * daemon.c by Kern Sibbald 2000
+ *
+ * This code is inspired by the Prentice Hall book
+ * "Unix Network Programming" by W. Richard Stevens
+ * and later updated from his book "Advanced Programming
+ * in the UNIX Environment"
+ *
+ * Initialize a daemon process completely detaching us from
+ * any terminal processes.
+ *