Skip to content

Commit

Permalink
Merge pull request nervosnetwork#4238 from eval-exec/exec/fix-systemd…
Browse files Browse the repository at this point in the history
…-journalctl

Fix using `journalctl` to check the log of `ckb.service`
  • Loading branch information
doitian authored Nov 21, 2023
2 parents 49e6325 + 8158676 commit b551499
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion devtools/init/linux-systemd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,16 @@ Start the node automatically on boot if you like:
sudo systemctl enable ckb.service
```

Check ckb's status:

```bash
sudo systemctl status ckb.service
```

If ckb doesn't seem to start properly you can view the logs to figure out the problem:

```bash
journalctl --boot -u ckb.service
sudo journalctl --boot -u ckb.service
```

Following the similar instructions to start a miner:
Expand Down

0 comments on commit b551499

Please sign in to comment.