aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAndreas Lindhé <andreas@lindhe.io>2018-04-06 11:19:17 +0200
committerAndreas Lindhé <andreas@lindhe.io>2018-04-06 11:19:17 +0200
commit73e3757e5e314295a8cd9020022f2a1bad3f1ddc (patch)
tree4ee86456a8ba9e926a2d6484543bce4f285147e7 /etc
parent2842bb1f114fbecdd953e33e536fc112be2f4dc0 (diff)
downloadmidbro-73e3757e5e314295a8cd9020022f2a1bad3f1ddc.tar.gz
midbro-73e3757e5e314295a8cd9020022f2a1bad3f1ddc.tar.bz2
Add logging service file
Diffstat (limited to 'etc')
-rw-r--r--etc/logging.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/logging.service b/etc/logging.service
new file mode 100644
index 0000000..e2d7c93
--- /dev/null
+++ b/etc/logging.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=logging
+
+[Service]
+ExecStart=/home/pi/midbro/script/logging.py /home/pi/data/log/sysinfo.log
+Restart=always
+
+[Install]
+WantedBy=multi-user.target