bme680-homekit/systemd/bme680-homekit.service

15 lines
331 B
SYSTEMD
Raw Permalink Normal View History

2022-02-21 20:24:05 +00:00
[Unit]
Description=Bme680 Homekit service
After=local-fs.target network-online.target
[Service]
2024-02-07 19:24:03 +00:00
Environment="HOMEKIT_CONFIG=/home/denis/bme680-homekit/config.yaml"
WorkingDirectory=/home/denis/bme680-homekit/
2022-06-12 13:38:04 +00:00
Restart=on-failure
RestartSec=5s
2024-02-07 19:24:03 +00:00
User=denis
ExecStart=/usr/bin/python3 -m app.main
2022-02-21 20:24:05 +00:00
[Install]
WantedBy=multi-user.target