Fixups freeswitch rotate script, tutorial config

This commit is contained in:
DanB
2014-01-13 20:57:18 +01:00
parent 9428ffa9c6
commit 9feadce362
2 changed files with 3 additions and 4 deletions

View File

@@ -5,8 +5,7 @@ CGR_CDRC_IN_DIR=/var/log/cgrates/cdr/cdrc/in
/usr/bin/fs_cli -x "cdr_csv rotate"
find $FS_CDR_CSV_DIR -maxdepth 1 -mindepth 1 -not -name *.csv -print0 | xargs -0 mv -t $CGR_CDRC_IN_DIR
find $FS_CDR_CSV_DIR -maxdepth 1 -mindepth 1 -not -name *.csv -exec chown cgrates:cgrates '{}' \; -exec mv '{}' $CGR_CDRC_IN_DIR \;
exit 0