It does execute fwconsole stop when it’s stopping freepbx service but not sure what is going on.
Not sure pastebin was the correct way to do it, the logs files were exceeding the maximum number of characters I could post. Correct me if I did it wrong.
TEST no.1 - This is the log of freepbx service where I manually stop freepbx service before I power off. I kept only the part where the systemd sends command to stop the service.
journalctl -b -2 -u freepbx -r
https://pastebin.com/UsfNc6TE
And this is the full poweroff sequence log of the same session (where freepbx service is already stopped)
journalctl -b -2 -r
https://pastebin.com/n9vJhzAh
TEST no.2 - This is the log of freepbx service when I execute poweroff normally, without stopping freepbx service first
journalctl -b -1 -u freepbx -r
https://pastebin.com/UNYvvGGN
And this is again the log of the same poweroff session, that I issued poweroff without stopping freepbx manually.
It’s the full log of the shutdown sequence.
journalctl -b -1 -r
https://pastebin.com/X5QUszCR
For some reason asterisk won’t stop when freepbx service ExecStop executes, which is basically a fwconsole stop.