From 6bf7d8fa15179774a3efd1677c7c7bc799a7bc05 Mon Sep 17 00:00:00 2001 From: PoofyTeddy <33599733+poofyteddy@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:42:28 +0200 Subject: [PATCH] Use user variable in systemd venv service (#9257) Tiny doc update Since we are using systemd template, and that the user is already used as the variable, i think it is easier to manage like that. --- source/_docs/autostart/systemd.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_docs/autostart/systemd.markdown b/source/_docs/autostart/systemd.markdown index 30faef2d122..577babc2778 100644 --- a/source/_docs/autostart/systemd.markdown +++ b/source/_docs/autostart/systemd.markdown @@ -51,7 +51,7 @@ After=network-online.target [Service] Type=simple User=%i -ExecStart=/srv/homeassistant/bin/hass -c "/home/YOUR_USER/.homeassistant" +ExecStart=/srv/homeassistant/bin/hass -c "/home/%i/.homeassistant" [Install] WantedBy=multi-user.target