When running the service with gnunet-arm -i svc, the function added with
GNUNET_SCHEDULER_add_shutdown is not being run when issuing gnunet-arm -k
svc

If I add a sigterm handler and do GNUNET_SCHEDULER_shutdown there, it
hangs and I have to sigint (and it doesnt halt).

If I run the service directly (without gnunet-arm) the shutdown task
gets triggered.

Is this expected behavior?

Is there a recommended way to add teardown code when using gnunet-arm?

I'm on 1567c9472b917a097cace08a7b08fc724e14f381

thanks,
l

Attachment: signature.asc
Description: PGP signature

Reply via email to