> For the complete documentation index, see [llms.txt](https://service.block-pro.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://service.block-pro.net/mainnet/celestia/useful-commands/service-operations.md).

# Service Operations

**Mainnet · `celestia`**

The complete reference is now on [Useful Commands](https://service.block-pro.net/mainnet/celestia/useful-commands.md#service-operations).

## Service operations

### Select service

Select the existing BlockPro bridge below. For a consensus or light node installed from the generic guides, select its own unit (`celestia-appd` or `celestia-light`) instead.

```bash
SERVICE=celestia-bridge-mainnet.service
```

### Status

Check the selected systemd service.

```bash
sudo systemctl status "$SERVICE" --no-pager
```

### Start

Start the node.

```bash
sudo systemctl start "$SERVICE"
```

### Stop

Stop the node.

```bash
sudo systemctl stop "$SERVICE"
```

### Restart

Restart after a configuration change.

```bash
sudo systemctl restart "$SERVICE"
```

### Recent logs

Show the last 100 log lines.

```bash
sudo journalctl -u "$SERVICE" -n 100 --no-pager
```

### Follow logs

Follow logs; Ctrl+C leaves the log view.

```bash
sudo journalctl -u "$SERVICE" -f
```

### Bridge running version

Read the executable of the active BlockPro bridge. Expect `0.36.0` after the upgrade.

```bash
systemctl is-active --quiet celestia-bridge-mainnet.service &&
sudo "/proc/$(systemctl show celestia-bridge-mainnet.service -p MainPID --value)/exe" version
```

### Revoke a DA RPC token

To retire one JWT, set `TOKEN_TO_REVOKE` to that token and `ADMIN_TOKEN` to an admin JWT. Run this against your private DA RPC listener. The example uses the default local address.

```bash
/usr/local/bin/celestia node revoke-token "$TOKEN_TO_REVOKE" --url http://127.0.0.1:26658 --token "$ADMIN_TOKEN"
```

Revocation persists across restarts and closes active WebSocket sessions using that credential. [Upstream documentation](https://github.com/celestiaorg/celestia-node/pull/5364)

### Bridge disk space

Check free space on the existing bridge store filesystem.

```bash
df -h /root/.celestia-bridge
```

### Bridge synchronization

Read the bridge log and confirm new head heights and sampling continue.

```bash
journalctl -u celestia-bridge-mainnet.service -n 100 --no-pager -o cat
```

### Consensus running version

Read the executable of the active consensus service. The Mainnet upgrade target is `11.0.0` and the BlockPro service runs `/root/go/bin/celestia-appd`.

```bash
systemctl is-active --quiet celestia-appd.service &&
sudo "/proc/$(systemctl show celestia-appd.service -p MainPID --value)/exe" version
```

### Fibre running version

Read the running Fibre executable on its host. Expect `11.0.0`.

```bash
systemctl is-active --quiet fibre.service &&
sudo "/proc/$(systemctl show fibre.service -p MainPID --value)/exe" version
```

### Consensus sync status

Run on the consensus host only. Check height, block time and catching\_up; this is not the bridge RPC.

```bash
curl -fsS http://127.0.0.1:26657/status | jq '.result.sync_info'
```

### Consensus peer count

Count consensus peers.

```bash
curl -fsS http://127.0.0.1:26657/net_info | jq -r '.result.n_peers'
```

### Consensus disk space

Check available space.

```bash
df -h "$HOME/.celestia-app"
```

### Consensus data size

Measure consensus data usage.

```bash
du -sh "$HOME/.celestia-app/data"
```
