services/power-mqtt: Rewrite to Python
This commit is contained in:
parent
1e9334ecfb
commit
eff6091c5a
4 changed files with 35 additions and 23 deletions
|
@ -6,11 +6,10 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/bin/bash /var/lib/power-mqtt.sh
|
||||
ExecStart=/var/lib/power-mqtt.py
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
DynamicUser=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue