Service Management¶
Control the lifecycle of individual system services (Databases, Cache, Extensions) without affecting the rest of the application.
Service Operations¶
The manager services command group allows you to manage services defined in the services section of integration.yaml.
List Services¶
See all configured services, their initialization status, and current health:
Live View
Use the --watch (or -w) flag to keep the table updated in real-time:
Reload a Service¶
Force a service to re-read its configuration and reconnect. Useful for rotating database credentials or updating API keys.
Unload a Service¶
Temporarily disable a service and shut down its connections.
Dependency Impact
Be careful when unloading core services like db or cache. Xcore will warn you if active plugins depend on them. Plugin calls that require the service will fail until it is reloaded.
Custom Extensions¶
Services defined under services.extensions support hot-swapping and on-the-fly reload:
| integration.yaml | |
|---|---|
Reload after changing SMTP credentials:
Service Status Lifecycle¶
| Status | Meaning |
|---|---|
READY |
Service initialized and passing health checks |
DEGRADED |
Service started but health check failing |
FAILED |
Service failed to initialize or crashed |
STOPPED |
Service intentionally unloaded |
Service Container
All services are managed by a central ServiceContainer. The manager services commands interact with this container to ensure thread-safe operations.
See Also¶
- Real-time Monitoring
- Full dashboard and resource profiling.
- Custom Services
- Build and register your own service providers.