Automatic starting daemons out of sample configs in localtests, /tmp as output folder to work in non-root mode

This commit is contained in:
DanB
2014-03-02 17:34:03 +01:00
parent 755ab02d55
commit 62ccb5b9df
3 changed files with 40 additions and 10 deletions

View File

@@ -61,8 +61,8 @@ enabled = true # Enable CDR client functionality
# cdrs_method = http_cgr # Mechanism to use when posting CDRs on server <http_cgr>
# run_delay = 0 # Sleep interval in seconds between consecutive runs, 0 to use automation via inotify
cdr_type = freeswitch_csv # CDR file format <csv>.
cdr_in_dir = /var/log/cgrates/cdr/cdrc/in # Absolute path towards the directory where the CDRs are stored.
cdr_out_dir = /tmp # Absolute path towards the directory where processed CDRs will be moved.
cdr_in_dir = /tmp/cgrates/cdr/cdrc/in # Absolute path towards the directory where the CDRs are stored.
cdr_out_dir = /tmp/cgrates/cdr/cdrc/out # Absolute path towards the directory where processed CDRs will be moved.
cdr_source_id = freeswitch_csv # Free form field, tag identifying the source of the CDRs within CGRS database.
accid_field = 10 # Accounting id field identifier. Use index number in case of .csv cdrs.
reqtype_field = 16 # Request type field identifier. Use index number in case of .csv cdrs.
@@ -105,7 +105,7 @@ enabled = true # Starts SessionManager service: <true|false>.
[history_server]
enabled = true # Starts History service: <true|false>.
history_dir = /tmp/cgr_history # Location on disk where to store history files.
history_dir = /tmp/cgrates/history # Location on disk where to store history files.
# save_interval = 1s # Interval to save changed cache into .git archive
[history_agent]