asterisk dapper.2114_to_dapper.2234 diff
Diego Iastrubni
diego.iastrubni at xorcom.com
Mon Aug 7 06:10:28 UTC 2006
Hi Jonas,
I am trying to propagate your changes into the debian package (I will also
bring asterisk_fix into the main asterisk package "soon"). One small
question:
The chown you are using is weird... "asterisk:" I was under the impression
that is should be "asterisk:asterisk". The reason is that in order to make
ARI (http://www.littlejohnconsulting.com/ari) and freePBX
(http://freepbx.org) work, we need to add the www-data group into the
asterisk group and set those dir to be g+rw.
On Sunday 06 August 2006 21:04, Jonas Smedegaard wrote:
> But again, I suggest avoiding repetitions:
>
>
> # Make sure all (possibly) used dirs exist and is owned by asterisk
> # (/var/run/asterisk is handled in sysV script /etc/init.d/asterisk)
>
> dirs="
> /var/log/asterisk
> /var/spool/asterisk
> /var/lib/asterisk
> /etc/asterisk
> "
>
> subdirs="
> /var/log/asterisk/cdr-csv
> /var/log/asterisk/cdr-custom
> /var/spool/asterisk/dictate
> /var/spool/asterisk/meetme
> /var/spool/asterisk/monitor
> /var/spool/asterisk/monitor
> /var/spool/asterisk/system
> /var/spool/asterisk/tmp
> /var/spool/asterisk/voicemail
> "
>
> for dir in $subdirs $dirs; do
> mkdir -p "$dir"
> done
>
> for dir in $dirs; do
> chown -R asterisk: "$dir"
> done
More information about the Pkg-voip-maintainers
mailing list