Skip to content

Commit dbd2d98

Browse files
committed
wip - collator page
1 parent b04156a commit dbd2d98

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

node-infrastructure/run-a-collator/collator.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -257,28 +257,35 @@ Follow these steps to build a chainspec from the runtime:
257257
- `--name`: Your collator name (visible in telemetry)
258258
- Relay chain uses `--sync=warp` for faster initial sync
259259

260-
## Running the Collator
260+
## Run the Collator
261261

262-
### Start the Service
262+
Follow these steps to run your collator node:
263263

264-
```bash
265-
# Reload systemd
266-
sudo systemctl daemon-reload
267-
268-
# Enable service to start on boot
269-
sudo systemctl enable polkadot-collator
264+
1. Reload systemd using the following command:
265+
```bash
266+
sudo systemctl daemon-reload
267+
```
270268

271-
# Start the service
272-
sudo systemctl start polkadot-collator
269+
2. Next, enable the service to start on boot using the command:
270+
```bash
271+
sudo systemctl enable polkadot-collator
272+
```
273+
3. Now, start the service with the following command:
274+
```bash
275+
sudo systemctl start polkadot-collator
276+
```
273277

274-
# Check status
275-
sudo systemctl status polkadot-collator
278+
4. Finally, you can check the status of the service using the command:
279+
```bash
280+
sudo systemctl status polkadot-collator
281+
```
276282

277-
# View logs
283+
To view collator service logs, use the command:
284+
```bash
278285
sudo journalctl -u polkadot-collator -f
279286
```
280287

281-
### Initial Sync
288+
## Complete Initial Sync
282289

283290
Your collator must sync both the relay chain and parachain before producing blocks.
284291

0 commit comments

Comments
 (0)