diff --git a/app/SSH/Services/ProcessManager/Supervisor.php b/app/SSH/Services/ProcessManager/Supervisor.php index cca0ee52..91d9f3bc 100644 --- a/app/SSH/Services/ProcessManager/Supervisor.php +++ b/app/SSH/Services/ProcessManager/Supervisor.php @@ -40,7 +40,7 @@ public function create( string $logFile, ?int $siteId = null ): void { - $this->service->server->ssh($user)->exec( + $this->service->server->ssh()->exec( $this->getScript('supervisor/create-worker.sh', [ 'id' => $id, 'config' => $this->generateConfigFile(