From 73e3757e5e314295a8cd9020022f2a1bad3f1ddc Mon Sep 17 00:00:00 2001 From: Andreas Lindhé Date: Fri, 6 Apr 2018 11:19:17 +0200 Subject: Add logging service file --- etc/logging.service | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 etc/logging.service (limited to 'etc') 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 -- cgit v1.2.3