.adef faultAction: error: Unrecognized section name 'faultAc

Hi Jen

Ah - got it.

I think the reason I got this wrong was - I was in a hurry - I was looking for a solution to the problem of what to do if the app failed.
I was in the middle of trying to fix it and searched the manual.
Found faultAction:
Didn’t back track to the previous heading processes: and assumed that faultAction: was like the other top level defs like start:

Maybe it would help if in the manual’s faultAction: example instead of

faultAction: restart

there was

processes: { ... faultAction: restart ... }

Downside is the manual gets bigger :frowning:

Notes on .exit type code - the following works

// this function is called when this application stops
static void sig_appTermination_cbh(int sigNum)
{
    LE_INFO("app stopped");
}

COMPONENT_INIT
{
    le_sig_Block(SIGTERM);
    le_sig_SetEventHandler(SIGTERM, sig_appTermination_cbh);
}

Thanks

John