On Tue, 19 Mar 2013, Antonio Fortuny wrote:
Le 19/03/2013 16:52, Antonio Fortuny a écrit :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 somethingThe shutdown event does work.
That is normal. There is no real STOP on linux. I had planned to use USR1/USR2 for this, but didn't get to that.
Michael.
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
