Re: [lazarus] Linux service developing

2007-05-29 Thread Alvise Nicoletti
I still got no answers about how capturing the signals on linux. Searching the wiki I found nothing useful with linux service, signals, sigkill, and other stuff like that... I found something googling but I can't work that way... Someone looked the code? Is that rubbish or it can be a

Re: [lazarus] Linux service developing

2007-05-29 Thread Alvise Nicoletti
A.J. Venter ha scritto: Look in the demo programs shipped with FPC, there is a fully working demo daemon called daemon.pp - among other things, it catches the crucial signals. A.J. On 5/29/07, Alvise Nicoletti [EMAIL PROTECTED] wrote: I still got no answers about how capturing the signals on

[lazarus] Linux service developing

2007-05-28 Thread Alvise Nicoletti
Hi. In this week I did a small prototype of an application that I'm doing for linux with Lazarus. It open socket for remote visual control, mysql connections, and other nice things. Now I'm going to abstract more all the classes and make things better... but before that I want to ask you

Re: [lazarus] Linux service developing

2007-05-28 Thread A.J. Venter
Hiya Alvis I do quite a bit of daemon/service kina work in Linux/Lazarus so I'll try to help. In this week I did a small prototype of an application that I'm doing for linux with Lazarus. It open socket for remote visual control, mysql connections, and other nice things. This is a cool idea,

Re: [lazarus] Linux service developing

2007-05-28 Thread Michael Van Canneyt
On Mon, 28 May 2007, Alvise Nicoletti wrote: Hi. In this week I did a small prototype of an application that I'm doing for linux with Lazarus. It open socket for remote visual control, mysql connections, and other nice things. Now I'm going to abstract more all the classes and make

Re: [lazarus] Linux service developing

2007-05-28 Thread Alvise Nicoletti
Thanks to Michael and to A.J. for the answers. To explanation purposes, i'll put the main project code at the end of that mail, so you can understand what I done by now and give me tips or alerts. Of course. KILL is just a signal like any other. You can have various signals : HUP