[fpc-pascal] Daemon doesn't work right at boottime.

Geno Roupsky groupsky at gmail.com
Fri Jun 2 09:18:57 CEST 2006


Well one difference between running the init script from shell and during
boot is the environment. Are you using some shell commands or something else
for let say GetDirList, because during boot the path variable is not
initialized as it is when you are in shell (actually I think it is empty)
and if you don't specify absolute paths or manually fill it the required
programs could not be located.

Also look for something else from the environment that your program depends
on.

Try to clear the environment in the shell and try to run the init script and
see what will happen.

-- 
Geno Roupsky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20060602/ec0d799e/attachment.html>


More information about the fpc-pascal mailing list