소스 검색

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

Daniel-Constantin Mierla 5 년 전
부모
커밋
abe6015323
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  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]