morpheus-ctl is useful beyond reconfigures and starting the ui, and many commands can be run across all services, or scoped to a singe service.
Some common commands include:
- morpheus-ctl status
Lists all the installed services and their current status
- morpheus-ctl start (service)
This starts all services if no service is specified, or starts the specified service. For example,
morpheus-ctl start/stop/restart/killon an all-in-one appliance will start, stop, restart or kill mysql, elasticsearch, rabbitmq, check-server, guacd and the morpheus-ui, one by one.
morpheus-ctl start/stop/restart/kill morpheus-uiwill only start, stop, restart or kill the morpheus-ui service, leaving the other service in their current state. Same goes for
morpheus-ctl start/stop/restart/kill mysql,
morpheus-ctl start/stop/restart/kill elasticsearchetc.
Delete *all* morpheus data, and start from scratch.
Print this help message.
Reconfigure the application.
Show the configuration that would be generated by reconfigure.
Kill all processes and uninstall the process supervisor (data will be preserved).
Service Management Commands:
Attempt a graceful stop, then SIGKILL the entire process group.
Send the services a HUP.
Send the services an INT.
Send the services a KILL.
Start the services if they are down. Do not restart them if they stop.
Stop the services if they are running, then start them again.
List all the services (enabled services appear with a *.)
Start services if they are down, and restart them if they stop.
Show the status of all the services.
Stop the services, and do not restart them.
Watch the service logs of all enabled services.
Send the services a TERM.
Backup/Restore ElasticSearch data
Enables firewall blocking mode.