Keymatic-mqtt/keymatic-mqtt.service.example

14 lines
231 B
Text
Raw Permalink Normal View History

2022-10-04 18:14:06 +00:00
[Unit]
Description=Keymatic MQTT Service
Requires=network-online.target
After=network-online.target
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/python3 /opt/Keymatic-mqtt/mqtt.py
[Install]
WantedBy=multi-user.target