From 3cf4732a1c06702010af0ed29ebf5dca463ca2f2 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 7 Aug 2017 14:59:20 +0200 Subject: [PATCH] added systemd service file --- vaillant-thermostat.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 vaillant-thermostat.service 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 -- 2.20.1