Make websockets and Web Serial work, set PATH variable in service file
This commit is contained in:
parent
51fd3367db
commit
926f9aa3a5
3 changed files with 5 additions and 1 deletions
|
@ -2,9 +2,10 @@
|
|||
Description=ESPHome
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/esphome/.local/bin/esphome dashboard config/
|
||||
ExecStart=/home/esphome/.local/bin/esphome dashboard /home/esphome/.local/bin/config/
|
||||
WorkingDirectory=/home/esphome/.local/bin
|
||||
User=esphome
|
||||
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/esphome/.local/bin
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue