Skip to main content

spawn

Dynamically create child processes from parent services. :::warning Deprecated sysg spawn is deprecated. Use sysg start --parent-pid <pid> --name <name> -- <command...>. :::

Options

Examples

Preferred replacement with start

Spawn a worker process

Spawn with time limit

Process automatically terminates after 1 hour:

Spawn with parent PID tracking

Requirements

:::info The parent service must opt into dynamic spawning before it can create children. Without spawn: mode: dynamic, spawn requests from that process are rejected because SystemG has no authorized spawn tree for the parent. ::: Parent service must be configured with:
The parent can then spawn child processes dynamically within those limits.

See also