I defined /dev/shm/freeswitch and /dev/shm/freeswitch/db owned by www-data user in /etc/tmpfiles.d/freeswitch.conf:
d /dev/shm/freeswitch 0770 www-data www-data
d /dev/shm/freeswitch/db 0770 www-data www-data
and created this directories by "systemd-tmpfiles --create". After that I changed value "db" in Advanced - "Default Setting" of FusuonPBX for "Switch" section to /dev/shm/freeswitch/db. But FusionPBX and Freeswitch still writes sqlite db files to old /var/lib/freeswitch/db directory. I restarted freeswitch but it still write sqlite db files to old directory.
How can I change sqlite db files to another location?
d /dev/shm/freeswitch 0770 www-data www-data
d /dev/shm/freeswitch/db 0770 www-data www-data
and created this directories by "systemd-tmpfiles --create". After that I changed value "db" in Advanced - "Default Setting" of FusuonPBX for "Switch" section to /dev/shm/freeswitch/db. But FusionPBX and Freeswitch still writes sqlite db files to old /var/lib/freeswitch/db directory. I restarted freeswitch but it still write sqlite db files to old directory.
How can I change sqlite db files to another location?