balena-supervisor/src
Felipe Lalanne 8e6c0fcad7
Wait for service dependencies to be running
This fixes a regression where dependencies would only be started in
order and would start the dependent service if its dependency had been
started at some point in the past, regardless of the running condition.

This makes the behavior more consistent with docker compose where the
[dependency needs to be
running or healthy](69a83d1303/pkg/compose/convergence.go (L441)) for the service to be started.

Change-type: patch
2024-12-13 16:22:11 -03:00
..
api-binder Move logger.ts into logging/index.ts 2024-12-05 21:55:09 -08:00
compose Wait for service dependencies to be running 2024-12-13 16:22:11 -03:00
config Don't require reboot if setting fan control 2024-12-09 18:43:57 -08:00
device-api Move logger.ts into logging/index.ts 2024-12-05 21:55:09 -08:00
device-state Move logger.ts into logging/index.ts 2024-12-05 21:55:09 -08:00
host-config Take update locks for host-config changes 2024-12-03 15:07:24 -03:00
lib Add ability to stream logs from host services to cloud 2024-12-06 07:45:43 -08:00
logging Stream logs from last SV's State.FinishedAt, process uptime otherwise 2024-12-06 07:46:38 -08:00
migrations Store rejected apps in the database 2024-08-30 10:52:11 -04:00
types Store rejected apps in the database 2024-08-30 10:52:11 -04:00
app.ts Refactor MDNS resolver into a module 2024-04-23 19:23:32 -04:00
db.ts Update typescript to v5 2024-03-05 15:33:56 -03:00
device-config.ts Don't require reboot if setting fan control 2024-12-09 18:43:57 -08:00
event-bus.ts Update typescript to v5 2024-03-05 15:33:56 -03:00
event-tracker.ts Log takeLock and releaseLock steps as system events 2024-04-04 14:07:47 -07:00
local-mode.ts Move logger.ts into logging/index.ts 2024-12-05 21:55:09 -08:00
mdns.ts Refactor MDNS resolver into a module 2024-04-23 19:23:32 -04:00
memory.ts Add memory usage healthcheck 2024-04-11 18:16:47 -07:00
network.ts Verify that LED_FILE exists on blinking setup 2024-08-07 15:33:07 -04:00
supervisor.ts Move logger.ts into logging/index.ts 2024-12-05 21:55:09 -08:00