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.
This commit is contained in:
PoofyTeddy 2019-04-20 20:42:28 +02:00 committed by Fabian Affolter
parent 80735a1b6a
commit 6bf7d8fa15

View File

@ -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