added systemd service file
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 7 Aug 2017 12:59:20 +0000 (14:59 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 7 Aug 2017 12:59:20 +0000 (14:59 +0200)
vaillant-thermostat.service [new file with mode: 0644]

diff --git a/vaillant-thermostat.service b/vaillant-thermostat.service
new file mode 100644 (file)
index 0000000..8e3b3b2
--- /dev/null
@@ -0,0 +1,11 @@
+[Unit]
+Description=Vaillant thermostat
+
+[Service]
+User=pi
+ExecStart=/home/pi/vaillant-thermostat/serial.pl
+#Restart=on-failure
+Restart=always
+
+[Install]
+WantedBy=multi-user.target