Module: MQTT <--> Powerplug Enegenie
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
1234567891011121314 |
- UID=1000
- GID=1000
- SERVICE_PATH="/etc/systemd/system"
-
- help:
- @echo "make install (with root priviliges) - to install service"
- @echo "make start (with root priviliges) - to start service"
- @echo "make enable (with root priviliges) - to enable service on boot"
- install:
- python __install__.py $(UID) $(GID) $(SERVICE_PATH)
- start:
- systemctl start powerplug.service
- enable:
- systemctl enable powerplug.service
|