[Lazarus] Linux service
Antonio Fortuny
a.fortuny at sitasoftware.lu
Tue Mar 19 16:52:05 CET 2013
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.
More information about the Lazarus
mailing list