afm-urun: Force scan of systemd units 79/17479/1
authorJosé Bollo <jose.bollo@iot.bzh>
Sun, 28 Oct 2018 17:53:37 +0000 (18:53 +0100)
committerJose Bollo <jose.bollo@iot.bzh>
Mon, 29 Oct 2018 09:15:46 +0000 (10:15 +0100)
commit41a1af2431185c4d78a8d4f9d87096f5f3fa9eb9
tree35fa77cd8a250750d989bc038d4e42c5ed0aa08d
parent4c384402dc4ab629a1b006cb75db9df2aff71999
afm-urun: Force scan of systemd units

It was previously assumed that only launched units
had to be scanned. But it was buggy because the
uninstall/install of application rebuilds the database
without taking care of the running applications.

Nevertheless changing the behaviour of the rebuild
of application's database is not the best solution
for two reasons. The fist is that it will complicates
the code. The second, much better, is that it would
allow to track also applications launched automaticaly
-and/or manually in devel-.

Bug-AGL: SPEC-1836

Change-Id: I5fb2bb712ce43be9c851251be6b794a007b1ea6f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afm-urun.c