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 server
  • nginx - Nginx web server
  • supervisor - Supervisor process manager

If no service is specified, you will be prompted to select from the available services.

Options

OptionDescription
--server=The server name or ID
--service=The service to restart (mysql, nginx, or supervisor)