In our app i have added a SIGTERM to gracefully close threads and DB connections i would prefer a adjustable KillTimeout or to set a flag do not kill per app … likely in adef files …
as i am using le_wdog it should not ever be killed as the watchdog action should manage the process.
This is the file containing the kill options
https://github.com/legatoproject/legato-af/blob/master/framework/c/src/supervisor/app.c