kopia lustrzana https://github.com/jbruce12000/kiln-controller
- adding a smoker service that restarts a specific schedule if the power goes out
rodzic
547577b896
commit
217482b10c
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=kiln-controller
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/pi/kiln-controller/venv/bin/python /home/pi/kiln-controller/kiln-controller.py
|
||||
ExecStartPost=/bin/sleep 5
|
||||
ExecStartPost=curl -d '{"cmd":"run", "profile":"pork-butt","startat":10}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Ładowanie…
Reference in New Issue