summaryrefslogtreecommitdiff
path: root/mqtt-notify.service
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2019-10-09 23:01:26 -0700
committerMatt Turner <mattst88@gmail.com>2019-10-09 23:01:26 -0700
commitd297e86f2217a7a5c1ddd66fea12c9ffa34f180e (patch)
tree2cec415c4651f509632f07ea60d6e610ec428df6 /mqtt-notify.service
Initial import
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