afm-urun: Force scan of systemd units 75/17475/1
authorJosé Bollo <jose.bollo@iot.bzh>
Sun, 28 Oct 2018 17:53:37 +0000 (18:53 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Sun, 28 Oct 2018 17:53:37 +0000 (18:53 +0100)
commitd40fc40da829be0975411f98212c7c46a13712e9
treeae0fe85b83ad0260e73ac610ff921d038b991365
parent73f3570165a3c5303ae54ff71aadbf2638fd59c7
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