aboutsummaryrefslogtreecommitdiff
path: root/etc/logging.service
diff options
context:
space:
mode:
Diffstat (limited to 'etc/logging.service')
-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