diff --git a/src/ProvisioningPlan.php b/src/ProvisioningPlan.php index 1a7cef6a..522dfafc 100644 --- a/src/ProvisioningPlan.php +++ b/src/ProvisioningPlan.php @@ -111,7 +111,9 @@ public function deploy($environment) } foreach ($supervisors as $supervisor => $options) { - $this->add($options); + if ($options->maxProcesses > 0) { + $this->add($options); + } } event(new MasterSupervisorDeployed($this->master));