openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
822 stars 251 forks source link

Mount logs under /srv/ #1579

Closed spacemanspiff2007 closed 3 years ago

spacemanspiff2007 commented 3 years ago

Could you elaborate what kind of issues so it's properly documented? I've been running an installation like that and it worked without problems.

Edit: It's only openhab logs, not the complete logs folder

ecdye commented 3 years ago

It tends to mess with zram because the log directory for openhab is then being mounted in multiple places and often has been observed to be a cause of data loss in logs. It doesn't always break but often does especially when random chance is acting on a very large group of users.