Now, when stopping the core (command
mesg-core stop), the CLI manually load and stop services before stopping the core.
This logic should be move in
Concerned source code:
Reply from @Anthony
I would vote for the daemon package to run this logic but it can rely to a
stopAllServices from the API
Reply from @krhubert
That would be good start, but for now we are listing services from the database.
Maybe we should add label to each container and just create a function
And in daemon - container.StopService(“mesg-label”)
Because overall we don’t need to list service from a database, but rather from current stat of docker containers.