Improve use of systemd's states 61/24561/1
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 19 May 2020 09:22:26 +0000 (11:22 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 19 May 2020 12:11:44 +0000 (14:11 +0200)
A better handling of systemd state is need to treat
correctly transient states. That change includes:

- Management of states with numeric identifiers
  instead of names

- Handling of the state "inactive" as a stable
  state. Most of previous seen problems were coming
  from that miss.

- Returning no error but also no info on the process
  if it falled to "inactive" meaning that it stopped
  quickly.

Bug-AGL: SPEC-3323

Change-Id: Ibf35eb6257c5583596d675cad0bec2869f5fd5f7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>

No differences found