summaryrefslogtreecommitdiff
path: root/mqtt-notify.service
diff options
context:
space:
mode:
Diffstat (limited to 'mqtt-notify.service')
-rw-r--r--mqtt-notify.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/mqtt-notify.service b/mqtt-notify.service
new file mode 100644
index 0000000..6a5c7f5
--- /dev/null
+++ b/mqtt-notify.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=MQTT to libnotify IRC notifications
+After=network-online.target nss-lookup.target
+Wants=network-online.target nss-lookup.target
+
+[Service]
+Type=simple
+ExecStart=%h/bin/mqtt-notify.py -c %E/%p/config
+
+[Install]
+WantedBy=default.target