On 10 January 2018 at 14:52, steve-ALUG@hst.me.uk wrote:
A) Can I ask why it's got a read-only filesystem?
Because it will lose power occasionally and I'm trying to avoid corrupted filesystems.
(It's actually a data logger, so it has a read-write data partition but a read-only O/S partition. That means I can generally symlink various files to the read-write partition as needed, but some things still make life difficult, like deleting and recreating files - or rather failing to).
Monit.
Interesting suggestion; I have used monit before years ago (not for this purpose) and long forgotten about it.
Thanks for the suggestion.
Part of the challenge will be working out what *should* work in a general case. Ie there's no point worrying about wifi being offline if it's not configured, for example, and I'm trying to make something generic. But from what I remember of monit there's some useful stuff in there that I need to revisit.
Mark