ideascube / ansiblecube

Ansible playbook to quickly deploy an ideascube server and much more !
MIT License
5 stars 9 forks source link

Logs to hdd #170

Closed swbsf closed 6 years ago

swbsf commented 6 years ago

Here is an example on how to solve issues we got writing to SD card. But please beware :

    • This will apply to any Koombook on field (we could for example enable this on a project basis).
    • If applied as is, old logs will be "lost", as in inaccessible (changes applied after next reboot).
    • We may have a broader look at which folder may be missing (modoboa?). Most apps aren't recreating their log folders in /var/log if it is missing.
    • As it is, it's roughly tested. The idea is to give a simple base to talk about. My first opinion after writing this is : it should be included in Koombook system image, not run by ansible (see third point).
fheslouin commented 6 years ago

This PR become a bit of a mess, re-opened and cleaned up on #178