Browse Source

use db_scripts to create the database

drop_requests
lazedo 8 years ago
parent
commit
344d299efc
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      kamailio/db_scripts/db_kazoo-specific
  2. +1
    -1
      system/sbin/kazoo-kamailio

+ 1
- 1
kamailio/db_scripts/db_kazoo-specific View File

@ -11,7 +11,7 @@ EOF
}
sql_setup() {
DB_KAZOO_LOCATION=${DB_KAZOO_LOCATION:-/etc/kamailio/db}
DB_KAZOO_LOCATION=${DB_KAZOO_LOCATION:-/etc/kazoo/kamailio/db}
mkdir -p ${DB_KAZOO_LOCATION}
KazooDB ${DB_KAZOO_LOCATION}/kazoo.db < $1
}


+ 1
- 1
system/sbin/kazoo-kamailio View File

@ -60,7 +60,7 @@ mount_point_exists() {
}
init_database() {
KazooDB < /etc/kazoo/kamailio/kazoodb.sql
/etc/kazoo/kamailio/db_scripts/create-kazoodb-sql.sh
}


Loading…
Cancel
Save