restart
Restart services with zero downtime.Options
--config
Path to the configuration file. When specified, reloads the configuration and restarts all services with the new settings.
--service
Name of a specific service to restart. If not specified, all services are restarted.
--daemonize
Start the supervisor before restarting if it isn’t already running.
--sys
Opt into privileged system mode. Requires running as root.
--drop-privileges
Drop child service privileges during spawn. When enabled 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