Delphi implementation of a Linux deamon
This is the code for the blog articles:
- Building a (real) Linux daemon with Delphi - Part 1
- Building a (real) Linux daemon with Delphi - Part 2
The first demo (DelphiDaemonBase folder) is the exact code showed in the article, it's a simple but fully functional Linux daemon implementation in a
.dpr project with the
The second demo (DelphiDaemonWiRL folder) is built with two (independent) units from the WiRL library:
WiRL.Console.Posix.Syslog.pas that contains the (same) code to build a Linux daemon but incapsulated in easy-to-use Delphi classes.
The third demo (GitHubHooksDaemon folder) is a fully featured REST Linux daemon built with the WiRL library and it shows how to encapsulate further the code logic to build a console application that behave as standard console app in debug and a daemon in release.