The code in the wiki is correct, but download demo project is wrong?
Indeed i was copying the wiki entry. Because I did not trusted it I downloaded the zipfile and indeed there the error is present.
You can easily solve that with for example:
LogToFile(Format('Daemon %s received start signal, PID:%d', ['the_name_of_your_daemon', GetProcessID]));
or replace it as per wiki entry.
At least it keeps you/us alert