I went the lazy route and used crontab, with @reboot . It runs as me, not root.
The real question now is: How long can a raspi run without crashing ? Eventually I will start logging usage of each segment, on each tube, and use that for depoisoning. Since it's a micro SD (flash) filesystem, which has limited write-cycles, I have to be careful about how often I store runtime information. Syncing daily to the same file (appending) could cause wearout after several years if the OS doesn't incorporate some form of levelling. Doing it every 3-4 days should get me about 100 years of logging if the flash has 10K write-cycle endurance. Not that I will be around then to do anything with that data..... -- You received this message because you are subscribed to the Google Groups "neonixie-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/e54b13e1-e8eb-43ea-b3b6-a4060e9b40ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
