Restart service
The service:restart command allows you to restart a specific service on a server.
ploi service:restart
Restart a specific service:
ploi service:restart --server=blue-ocean --service=nginx
Available Services
mysql- MySQL database servernginx- Nginx web serversupervisor- Supervisor process manager
If no service is specified, you will be prompted to select from the available services.
Options
| Option | Description |
|---|---|
--server= | The server name or ID |
--service= | The service to restart (mysql, nginx, or supervisor) |