Freeswitch file location
The /etc/init.d/freeswitch script sets the htdocs and scripts directories to be in /usr/share. Both of those things are meant to be edited by users. You can add html, cgi, … to htdocs. And scripts is meant to hold your (lua and other) scripts that will be called by the freeswitch dialplan. So, neither of these should point to /usr, which can be made read-only. I would think scripts should point to /etc/freeswitch/scripts. Or maybe to somewhere in /var. Not sure about htdocs.
(from redmine: issue id 430, created on 2010-09-10, closed on 2010-10-14)
- Revision 54d0004b on 2010-09-30T13:44:37Z:
main/freeswitch: move scripts dir to /etc/freeswitch/ sneak in a gcc-4.5 build fix too... fixes #430