On the Internet there are multiple code example which explains how to write the old style daemon in pure C or even in C++.
However, there is no such thing for a "new style" (or systemd one).
Is there a basic "simple daemon" code I can re-use to write a "new style" systemd daemon in C/C++?