Skip to content

Commit

Permalink
Update systemd.md
Browse files Browse the repository at this point in the history
  • Loading branch information
companje committed Mar 10, 2023
1 parent 61e52be commit ee086e3
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions pages/systemd.md
@@ -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
```

0 comments on commit ee086e3

Please sign in to comment.