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:
cr
to rebuild the cache before (re)starting the serverhost
to override the host for the Swoole server setting from config, which defaults tolocalhost
port
to override the port for the Swoole server setting from config, which defaults to8000
The server is stopped with the Drush command:
drush swoole:stop