@@ -77,12 +77,12 @@ public function handle(ServerProcessInspector $inspector, ServerStateFile $serve
7777 $ roadRunnerBinary ,
7878 '-c ' , $ this ->configPath (),
7979 '-o ' , 'http.address= ' .$ this ->option ('host ' ).': ' .$ this ->option ('port ' ),
80- '-o ' , 'server.command= ' .(new PhpExecutableFinder )->find ().' ./ vendor/bin/roadrunner-worker ' ,
80+ '-o ' , 'server.command= ' .(new PhpExecutableFinder )->find ().' ' . base_path ( ' vendor/bin/roadrunner-worker ') ,
8181 '-o ' , 'http.pool.num_workers= ' .$ this ->workerCount (),
8282 '-o ' , 'http.pool.max_jobs= ' .$ this ->option ('max-requests ' ),
8383 '-o ' , 'rpc.listen=tcp:// ' .$ this ->option ('host ' ).': ' .$ this ->rpcPort (),
8484 '-o ' , 'http.pool.supervisor.exec_ttl= ' .$ this ->maxExecutionTime (),
85- '-o ' , 'http.static.dir=public ' ,
85+ '-o ' , 'http.static.dir= ' . base_path ( ' public ') ,
8686 '-o ' , 'http.middleware= ' .config ('octane.roadrunner.http_middleware ' , 'static ' ),
8787 '-o ' , 'logs.mode=production ' ,
8888 '-o ' , app ()->environment ('local ' ) ? 'logs.level=debug ' : 'logs.level=warning ' ,
0 commit comments