Swoole Drush
Controling the (Open)Swoole server with Drush
The (Open)Swoole server is started with the Drush command:
drush swoole:start
A running server can be restarted with the Drush command:
drush swoole:restart
Command options for the start and the restart commands:
crto rebuild the cache before (re)starting the serverhostto override the host for the Swoole server setting from config, which defaults tolocalhostportto override the port for the Swoole server setting from config, which defaults to8000
The server is stopped with the Drush command:
drush swoole:stop