Skip to content

Commit

Permalink
Creates additional Asterisk directories (#220)
Browse files Browse the repository at this point in the history
If it is a migration, some directories don't exist or have the wrong permissions.
  • Loading branch information
Stell0 authored May 29, 2024
1 parent 86e7383 commit 9efa99f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion freepbx/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ Driver = MariaDB Unicode
Description = ODBC on asteriskcdrdb
EOF

chown asterisk:asterisk /var/lib/asterisk/db
mkdir -p /var/spool/asterisk/outgoing /var/spool/asterisk/tmp /var/spool/asterisk/uploads
chown asterisk:asterisk /var/lib/asterisk/db /var/spool/asterisk/outgoing /var/spool/asterisk/tmp /var/spool/asterisk/uploads

# Customized wizard page
cat > /etc/apache2/sites-available/wizard.conf <<EOF
Expand Down

0 comments on commit 9efa99f

Please sign in to comment.