I just tried with WP8548 with faultAction in adef file.
processes:
{
envVars:
{
LE_LOG_LEVEL = DEBUG
}
run:
{
( hello )
}
maxCoreDumpFileBytes: 512K
maxFileBytes: 512K
faultAction: reboot
}
Once in the code, you have exit(1), the system will reboot.