Hi All, I have created a simple windows service application (inherited from ServiceBase class) . And want to run in MAC OS X using mono-service2.
So here is the code class Program { static void Main(string[] args) { Service1 ser = new Service1(); ServiceBase.Run(ser); } } public partial class Service1 : ServiceBase { public Service1() { } protected override void OnStart(string[] args) { Console.WriteLine("start..."); } protected override void OnStop() { Console.WriteLine("stop...."); } protected override void OnPause() { Console.WriteLine("Pauce...."); } protected override void OnContinue() { Console.WriteLine("Continue...."); } } Here i am able run the service using mono-service2. mono-service2 --debug I am able to see console outputs start.... And also i am able to stop the service using kill `cat </tmp/<lockfile>` and ble to see stop.... in console. But when i want to to pause or continue service using follwing commands kill -USR1 kill -USR2 But i am unable to see console outputs... where i have the console outputs for those methods. Kindly any one help me in solving this. Regards Srini -- View this message in context: http://mono.1490590.n4.nabble.com/mono-service2-issue-tp3386890p3386890.html Sent from the Mono - Dev mailing list archive at Nabble.com. _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list