OpenZWave / qt-openzwave

QT5 Wrapper for OpenZWave
GNU Lesser General Public License v3.0
105 stars 30 forks source link

Updated the Crash and Log Directory #96

Open Fishwaldo opened 4 years ago

Fishwaldo commented 4 years ago

https://github.com/OpenZWave/qt-openzwave/issues/75#issuecomment-639677785

kpine commented 4 years ago

I forgot I was already mapping the crashes directory to a bind mount. This is a workaround to keep the crash dumps out of the config directory. I realized I can do the same with the logs directory.

    volumes:
      - ozwd-config:/opt/ozw/config
      - ozwd-user:/opt/ozw/user
      - ./logs:/opt/ozw/config/logs
      - /tmp/ozwd-minidumps:/opt/ozw/config/crashes

ozwd-config and ozwd-user are NFS mounted volumes. The crashes I don't need to persist at all, and logs I don't care about permanently, but mounting them locally makes for easy access.

Or:

    tmpfs: /opt/ozw/config/crashes