IP: ${esc(c.controllerIp)} | gRPC: :${c.grpcPort} | PID: ${c.pid ?? '—'}
| Crawler: ${c.crawlerConnected ? '연결됨' : '미연결'}
`).join('');
} catch(e) { console.error('refreshStatus:', e); }
}
```
**startGateway/stopGateway/restartGateway 에 id 파라미터 추가:**
```javascript
async function startGateway(id) {
const url = id ? `/gateway/start?id=${encodeURIComponent(id)}` : '/gateway/start';
const r = await _setupApi('POST', url);
_setupMsg('action-msg', r.success ?? (r[0]?.ok), r.message ?? '완료');
setTimeout(refreshStatus, 2500);
}
```
### 파일: `wwwroot/panes/setup.html`
Gateway Status 카드 내부:
```html