Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.4 KB

README.md

File metadata and controls

21 lines (14 loc) · 1.4 KB

Linux Daemon Library for Delphi

Delphi implementation of a Linux deamon

This is the code for the blog articles:

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 syslog.pas unit.

The second demo (DelphiDaemonWiRL folder) is built with two (independent) units from the WiRL library: WiRL.Console.Posix.Daemon.pas and 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.