I finally succeded to manage the service. The basic developmment done in WIN32 has been preserved. I've now a unique source project compiling and running on WIN32 and LINUX.
So far, so good.
There is only one thing which worries me: when stopping the service (aka service ipserviced stop) the service is really stopped but the event OnStop is not fired.
In the daemon script this line is executed on stop:
        killproc -p ${PID_FILE} -t 10 ${IPSERVICE_BIN} -TERM
and it works. Same if I use -HUP.
Maybe did I miss something

Antonio.


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to