Skip to content

Commit

Permalink
Add the app name to the process name
Browse files Browse the repository at this point in the history
  • Loading branch information
hhxsv5 committed Sep 7, 2022
1 parent 829f646 commit 3c1ae91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/LaravelSCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ protected function preSet(array &$svrConf)
$svrConf['laravel_base_path'] = base_path();
}
if (empty($svrConf['process_prefix'])) {
$svrConf['process_prefix'] = $svrConf['laravel_base_path'];
$svrConf['process_prefix'] = trim(config('app.name', '') . ' ' . $svrConf['laravel_base_path']);
}
if ($this->option('ignore')) {
$svrConf['ignore_check_pid'] = true;
Expand Down

0 comments on commit 3c1ae91

Please sign in to comment.