mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Added restart && journal, which I use all the time (#3795)
This commit is contained in:
parent
081d0d4dd9
commit
39b30f6582
@ -127,3 +127,10 @@ Because the log can scroll quite quickly, you can select to view only the error
|
|||||||
```bash
|
```bash
|
||||||
$ sudo journalctl -f -u home-assistant@[your user] | grep -i 'error'
|
$ sudo journalctl -f -u home-assistant@[your user] | grep -i 'error'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
When working on Home Assitant, you can easily restart the system and then watch the log output by combining the above commands using `&&`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ sudo systemctl restart home-assistant@[your user] && sudo journalctl -f -u home-assistant@[your user]
|
||||||
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user