Explorar o código

kamcli.ini: scriptsdirectory - new option to set path to db tables create scripts

Daniel-Constantin Mierla %!s(int64=5) %!d(string=hai) anos
pai
achega
abe6015323
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      kamcli/kamcli.ini

+ 7 - 0
kamcli/kamcli.ini

@@ -63,6 +63,13 @@ adminurl=%(type)s+%(driver)s://%(adminuser)s:%(adminpassword)s@%(host)s
 ; host from where kamcli is used
 accesshost=
 
+; path to the folder with SQL scripts for creating database tables
+; - used by `db create` subcommand if not provided via `-s` cli argument
+; - example value for mysql: /usr/local/share/kamailio/mysql
+; - example value for postgresql: /usr/local/share/kamailio/postgres
+; - example value for sqlite: /usr/local/share/kamailio/db_sqlite
+scriptsdirectory=/usr/local/share/kamailio/mysql
+
 
 ### control tool settings
 [ctl]