From 39b30f6582be78740158b3fc8ada44514b1a2575 Mon Sep 17 00:00:00 2001 From: Devon Peet Date: Fri, 27 Oct 2017 01:34:29 -0400 Subject: [PATCH] Added restart && journal, which I use all the time (#3795) --- source/_docs/autostart/systemd.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/_docs/autostart/systemd.markdown b/source/_docs/autostart/systemd.markdown index 74f595f850c..f4d3b25ff83 100644 --- a/source/_docs/autostart/systemd.markdown +++ b/source/_docs/autostart/systemd.markdown @@ -127,3 +127,10 @@ Because the log can scroll quite quickly, you can select to view only the error ```bash $ 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] +``` +