AllskyTeam / allsky-modules

User modules for allsky
MIT License
18 stars 17 forks source link

Why is “ALLSKY_EXTRA” on the SD card #40

Open Alex-developer opened 8 months ago

Alex-developer commented 8 months ago

Discussed in https://github.com/AllskyTeam/allsky-modules/discussions/37

Originally posted by **Adler6907** December 17, 2023 Modules like `allsky_dewheater.py` constantly write to `/home/pi/allsky/config/overlay/extra` which is not in RAM like `/home/pi/allsky/tmp`. Wouldn't it be better to change `ALLSKY_EXTRA="${ALLSKY_OVERLAY}/extra"` to `ALLSKY_EXTRA="${ALLSKY_TMP}/extra"` in `/home/pi/allsky/variables.sh`? Then in the example the file `allskydew.json` in `/home/pi/allsky/tmp/extra` would be constantly written.
EricClaeys commented 8 months ago

Agree. Anything that isn't needed across reboots should be in ALLSKY_TMP. Who put "extra" directory where it currently is???? :-)