ansible-infra/playbooks/roles/esphome/files/esphome.service

12 lines
320 B
SYSTEMD
Raw Normal View History

2022-12-04 20:11:39 +01:00
[Unit]
Description=ESPHome
[Service]
ExecStart=/home/esphome/.local/bin/esphome dashboard /home/esphome/.local/bin/config/
2022-12-04 20:11:39 +01:00
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
2022-12-04 20:11:39 +01:00
[Install]
WantedBy=multi-user.target