A template C# solution for a Windows service and a Linux demon