Documentation Index
Fetch the complete documentation index at: https://sysg.dev/llms.txt
Use this file to discover all available pages before exploring further.
restart
Restart services with zero downtime.Options
| Short | Long | Description |
|---|---|---|
-c | --config | Path to the configuration file. When specified, reloads the configuration and restarts all services with the new settings |
-s | --service | Name of a specific service to restart. If not specified, all services are restarted |
- | --daemonize | Start the supervisor before restarting if it is not already running |
- | --sys | Opt into privileged system mode. Requires running as root |
- | --drop-privileges | Drop child service privileges during spawn. In root/system mode, services without an explicit user run as nobody |
- | --log-level | Set logging verbosity for this invocation. Accepts named levels (trace, debug, info, warn, error, off) or numeric values (5-0) |
Examples
Restart all services
Restart specific service
Restart with new configuration
Deployment strategies
Services configured withdeployment.strategy: rolling get zero-downtime restarts:
- New instance starts
- Health checks pass
- (Optional) blue/green
switch_commandshifts traffic to candidate slot - Old instance receives
SIGTERM - Grace period allows requests to complete
- Old instance stops
See also
start- Launch servicesstop- Stop services- Deployment strategies
