mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
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:
parent
80735a1b6a
commit
6bf7d8fa15
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user