more directory moves!

- move all config folders into the directory "configs".
- fix_permissions.conf should only fix permissions of /etc/asterisk/*.conf files!
- update readme
This commit is contained in:
mpmc 2024-03-23 09:29:06 +00:00
parent d9d8c901ea
commit 813b2e0747
17 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ As of Debian 12 Bookworm, Debian no longer has packages for Asterisk :(.
### Using this Configuration
Decide which configuration (directory) you want.
Decide which configuration you want (see ./configs dir).
- start: Just enough to make Asterisk start.
- wip: The current work-in-progress configuration.
@ -30,14 +30,14 @@ cd /etc/asterisk/
# Before you run anything else below here make sure you're in the right path!
mkdir ../asterisk_backup
mv -v ./* ../asterisk_backup
mv -v ./*.conf ../asterisk_backup
# !! Be sure to notice the space and dot at the end here.
git clone https://markc.net/mpmc/asterisk.git .
# ↑↑
# Copy desired configuration from sub directory.
cp -v ./start/*.conf .
# Copy desired configuration.
cp -v ./configs./start/*.conf .
# Modify then run `fix_permissions.sh` to fix permissions.
bash ./fix_permissions.sh`

View File

@ -14,5 +14,5 @@ AST_USER="asterisk"
AST_GROUP="asterisk"
chown ${AST_USER}:${AST_GROUP} -cR /var/{lib,log,run,spool}/asterisk
chown ${AST_USER}:${AST_GROUP} -cR /etc/asterisk /run/asterisk
chown ${AST_USER}:${AST_GROUP} -cR /etc/asterisk/*.conf /run/asterisk