I use openhab to control a few things in the house based on whether I am home or not using owntracks and mosquito. All is currently mounted on raspberry pi bit I only get about 4weeks out of SD card before it corrupts. To try and prolong life I have moved all log files to tmpfs and everything works except event notifications coming into mosquito from openhab.
I have amended /etc/fstab with
tmpfs /var/log tmpfs size=20M,defaults,noatime,mode=0755 0 0
tmpfs /var/cache/apt/archives tmpfs size=100M,defaults,noexec,nosuid,nodev,mode=0755 0 0
tmpfs /var/spool/cups tmpfs size=100M,defaults,noatime,mode=0755 0 0
tmpfs /var/spool/cups/tmp tmpfs defaults,noatime,mode=0755 0 0
Then to get mosquito to work at all I added this to the start section of etc/init.d/mosquito.
and my mosquito.conf file is as follows
log_dest file /var/log/mosquitto/mosquitto.log
So what am I missing, how do I get events (i.e moving into a region in owntracks) to be listed in mosquito.