aboutsummaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/system/timeandtemp.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/systemd/system/timeandtemp.service b/systemd/system/timeandtemp.service
new file mode 100644
index 0000000..9ec0427
--- /dev/null
+++ b/systemd/system/timeandtemp.service
@@ -0,0 +1,16 @@
+[Unit]
+Description = print time and temperature to seven segment led.
+After = network.target
+
+[Service]
+Type = simple
+ExecStart = /usr/local/merlot/bin/timetemp.py
+User = root
+Group = root
+Restart = on-failure
+SyslogIdentifier = timeandtemp
+RestartSec = 5
+TimeoutStartSec = infinity
+
+[Install]
+WantedBy = multi-user.target