Skip to content

Commit

Permalink
Add a service status check command example
Browse files Browse the repository at this point in the history
  • Loading branch information
zhgzhg committed Jan 4, 2024
1 parent 57de717 commit 44a2c13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,12 @@ As a prerequisite make sure the project is compiled (via the `make` command) and
* To uninstall the service use: `sudo make uninstall`
* To allow the service to run automatically after the system boots: `sudo systemctl enable LoRaPktFwrd.service`
* To disallow the service to run automatically after the system boots: `sudo systemctl disable LoRaPktFwrd.service`
* To manually start / restart/ stop the service:
* To manually start / restart/ stop / check the status of the service:
```
sudo service LoRaPktFwrd start
sudo service LoRaPktFwrd restart
sudo service LoRaPktFwrd stop
sudo service LoRaPktFwrd status
```
* To inspect the latest logs of the service: `sudo journalctl -n 100 -f -u LoRaPktFwrd.service`

Expand Down

0 comments on commit 44a2c13

Please sign in to comment.