add zc.mqtt.service
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 5 Oct 2020 16:42:02 +0000 (18:42 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 5 Oct 2020 16:42:02 +0000 (18:42 +0200)
systemd/zc-mqtt.service [new file with mode: 0644]

diff --git a/systemd/zc-mqtt.service b/systemd/zc-mqtt.service
new file mode 100644 (file)
index 0000000..3baefc9
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=ZC MQTT
+
+[Service]
+User=dpavlin
+WorkingDirectory=/home/dpavlin
+ExecStart=/home/dpavlin/zc/zc-mqtt
+Restart=always
+RestartSec=1s
+
+[Install]
+WantedBy=multi-user.target