Store logged data in spool directory
[usb-wde1-tools.git] / README.rst
index 87a7d4b46f6898a20f8b69a74e896340c9b18ca3..13e7b033d62335673ea7d69edb3694c59d00c53f 100644 (file)
@@ -28,9 +28,11 @@ Setup
 
      $ cd munin && nohup ./usb-wde1-log-last.sh &
 
-   once. It backgrounds the logging process and logs into /tmp/usb-wde1-last.
+   once. It backgrounds the logging process and logs into ``/var/spool/usb-wde1/usb-wde1-last``.
    This process needs to be started whenever the machine is rebooted.
 
+   You can run ``make`` to install the init script.
+
 2. Link the munin plugin::
 
    $ cd /etc/munin/plugins
@@ -41,7 +43,7 @@ Setup
    Edit /etc/munin/plugin-conf.d/munin-node and add the following lines::
 
      [usb-wde1_*]
-     env.logfile /tmp/usb-wde1-last
+     env.logfile /var/spool/usb-wde1/usb-wde1-last
      env.host_name House
      env.sensors 0 1 7
      env.sensor0 Living room