From: Dobrica Pavlinusic Date: Mon, 7 Aug 2017 12:59:20 +0000 (+0200) Subject: added systemd service file X-Git-Url: http://git.rot13.org/?p=vaillant-thermostat;a=commitdiff_plain;h=3cf4732a1c06702010af0ed29ebf5dca463ca2f2 added systemd service file --- diff --git a/vaillant-thermostat.service b/vaillant-thermostat.service new file mode 100644 index 0000000..8e3b3b2 --- /dev/null +++ b/vaillant-thermostat.service @@ -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