arevindh / pihole-speedtest

Pihole Speedtest Mod
https://arevindh.github.io/pihole-speedtest/
MIT License
218 stars 22 forks source link

Can I run Pi-Hole Speedtest on Read Only file system? #132

Closed tehmessiah75 closed 1 year ago

tehmessiah75 commented 1 year ago

Sorry in advance, I dont know where to ask questions so I'm doing it here. In order to extend the life of my sd card I have enabled the Read Only File system in raspi-config. Can I still use the Pi-Hole Speed Test in ROFS? thanks in advance Ben

SHelfinger commented 1 year ago

Yes possible. Just put the DB files in RAM.

Location

/etc/pihole/speedtest.db
/etc/pihole/pihole-FTL.db

The files can be also moved to other locations by doing so via the config file.

tehmessiah75 commented 1 year ago

Is that where I need to move them to? If not, how do I move them to RAM?

Thank you

SHelfinger commented 1 year ago

How did you setup your ROFS?

If /etc/pihole/ is already in RAM. You don't need to do anything, since gravity.db, pihole-FTL.db and speedtest.db are in RAM.

arevindh commented 1 year ago

Stale issue