systemd or non-systemd
From this release on, co2monitor decides automatically whether to use systemd or just udev RUN+=...
to start the logging service when plugging the device in. This enhances compatibility to a great deal.
- Tested on deprecated raspbian wheezy, which does not use systemd.
- In theory, co2monitor should now also be able to start individual logging services per device, if multiple are connected. I cannot test this, because I only have one (And still, the output file naming does not yet include the device name anyway...)
Update: There are indeed multiple services started if multiple devices are plugged in, but there are still bugs that make this not really useful. The next release will introduce a new structure that specifically addresses handling multiple devices in parallel.