Added install script

This commit is contained in:
2023-08-01 19:17:05 +02:00
parent f1506a45f5
commit ea7097a016
6 changed files with 50 additions and 5 deletions

12
zigbee-opener.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Zigbee LOL opening detection system
After=network.target
[Service]
Restart=always
ExecStart=/usr/share/zigbee-opener/main.py
Type=simple
WorkingDirectory=/usr/share/zigbee-opener/
[Install]
WantedBy=multi-user.target