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

11 lines
320 B
Desktop File

[Unit]
Description=ESPHome
[Service]
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