Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
# folder | ||
```BASH | ||
sudo systemctl --failed # welke services zijn niet goed gestart | ||
cd /etc/systemd/system | ||
``` | ||
|
||
# which services didn't startup | ||
``` | ||
sudo systemctl --failed | ||
``` | ||
|
||
sudo systemctl daemon-reload # als de code veranderd is, hierna nog wel een restart doen | ||
# when your code has changed | ||
```bash | ||
sudo systemctl daemon-reload | ||
sudo systemctl restart mfxml2json # name of your service | ||
``` | ||
|
||
sudo journalctl -u charge_check.service -b # logs | ||
# logs | ||
```bash | ||
sudo journalctl -u charge_check.service -b | ||
``` | ||
|
||
# log tail -f | ||
``` | ||
sudo journalctl -u mfxml2json.service -f | ||
|
||
sudo systemctl daemon-reload && sudo systemctl restart mfxml2json | ||
``` |