Start vs Spawn
start is now the primary process-creation command.
:::warning Deprecated
sysg spawn is deprecated. Use sysg start --parent-pid ... for child-process workflows.
:::
Quick comparison
start (manifest/ad-hoc) | start (child mode) | spawn (deprecated) | |
|---|---|---|---|
| Flags | sysg start [--config ...] [-- command...] | sysg start --parent-pid <pid> [--ttl ...] -- <cmd...> | sysg spawn ... |
| Lifecycle | Top-level managed unit(s) | Parent-attached child unit | Parent-attached child unit |
| Use case | Core services and ad-hoc units | Dynamic child workers | Legacy compatibility |
start - Unified command
Manifest services:
spawn:
Legacy spawn mapping
Existing invocations:
start command:
Recommended naming
Use the term child mode for the formerspawn workflow:
startin child mode (--parent-pid)startin ad-hoc mode (command without--parent-pid)startin manifest mode (no command)
Example: Job queue with child mode
See also
start- Launch servicesspawn- Deprecated command reference- Configuration - Service definitions