Laravel Artisan Supervisor Command
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
LICENSE Initial commit Jun 20, 2015
README.md

README.md

Laravel-Artisan-Supervisor-Command

Installation

  1. Copy or create SupervisorCommand.php file in your app/Console/Commands folder
  2. Edit Kernel.php in app/Console/Commands folder
  3. Add the command in $commands array property
	protected $commands = [
		\App\Console\Commands\SupervisorCommand::class,
	];
  1. Run from shell php artisan shell:supervisor
    Usage:
      shell:supervisor [options]
    
    Options:
          --list            List supervisor processes
          --start[=START]   Start supervisor process by process name
          --stop[=STOP]     Stop a supervisor process by PID or process name
          --start-all       Stop all supervisor processes
          --stop-all        Stop all supervisor processes
          --up              Start supervisor service
          --down            Stop supervisor service

Broadcast and supervisor links