Skip to content

Commit 25aab8e

Browse files
committed
Added more info on service managmeent.
1 parent f50801c commit 25aab8e

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

commands/README.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,32 @@ Note that if the service is running at a "system" level, there may be a need to
1212

1313
`journalctl -S "4 hour ago"`
1414

15+
## Service Management
16+
17+
### Auto-start
18+
19+
System services need to be made explicitly auto-started. They can run but may not be configured for auto-start upon reboot.
20+
21+
To see if the service has been configured for auto-start:
22+
23+
```bash
24+
systemctl list-unit-files --type=service --state=enabled
25+
```
26+
27+
> Change `enabled` to `disabled` to see the services that do not auto-start.
28+
29+
To make a service start on boot, use the following command:
30+
31+
```bash
32+
sudo systemctl enable cosmos.service
33+
```
34+
1535
## Cosmos
1636

37+
### Node information
38+
39+
- `curl -Ss localhost:1317/node_info`
40+
1741
### Consensus information
1842

1943
- `curl -Ss localhost:26657/dump_consensus_state`
@@ -25,6 +49,6 @@ Note that if the service is running at a "system" level, there may be a need to
2549

2650
`sudo hdparm -tT /dev/disk/by-id/scsi-0DO_Volume_columbus5a`
2751

28-
### Disk interfaction
52+
### Disk interaction
2953

3054
`sudo blkid /dev/sdb`

0 commit comments

Comments
 (0)