[Lazarus] Linux service
Antonio Fortuny
a.fortuny at sitasoftware.lu
Tue Mar 19 16:57:07 CET 2013
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 something
The shutdown event does work.
>
> Antonio.
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
More information about the Lazarus
mailing list