diff --git a/hass-poc-configurator.systemd b/hass-poc-configurator.systemd index 6ad18b8..edc3d9a 100644 --- a/hass-poc-configurator.systemd +++ b/hass-poc-configurator.systemd @@ -4,8 +4,11 @@ After=network.target [Service] Type=simple +User=homeassistant #Set the path to your configurator.py location -ExecStart=/usr/bin/python3 /etc/homeassistant/configurator.py +WorkingDirectory=/etc/homeassistant +ExecStart=/usr/bin/python3 /etc/homeassistant/configurator.py settings.conf +Restart=always [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target