diff --git a/app/Console/Commands/Cluster/Work.php b/app/Console/Commands/Cluster/Work.php index cf1a07f..064c7cb 100644 --- a/app/Console/Commands/Cluster/Work.php +++ b/app/Console/Commands/Cluster/Work.php @@ -15,7 +15,7 @@ class Work extends Command * * @var string */ - protected $signature = 'run'; + protected $signature = 'works'; /** * The console command description. diff --git a/supervisor/lae-web.conf b/supervisor/lae-web.conf index 40c90af..08c07dc 100644 --- a/supervisor/lae-web.conf +++ b/supervisor/lae-web.conf @@ -1,7 +1,7 @@ [program:lae-web] process_name=%(program_name)s_%(process_num)02d directory=/opt/lae -command=php artisan cluster:work +command=php artisan works autostart=true autorestart=true stopasgroup=true