bme680-homekit/systemd/bme680-homekit.service

14 lines
331 B
Desktop File

[Unit]
Description=Bme680 Homekit service
After=local-fs.target network-online.target
[Service]
Environment="HOMEKIT_CONFIG=/home/denis/bme680-homekit/config.yaml"
WorkingDirectory=/home/denis/bme680-homekit/
Restart=on-failure
RestartSec=5s
User=denis
ExecStart=/usr/bin/python3 -m app.main
[Install]
WantedBy=multi-user.target