Skip to content

Data Collector

Bofu Chen edited this page Dec 3, 2017 · 6 revisions

Enable Data Collector

You might want to store the snapshot and inference results for data analysis.

Steps to enable data collector:

  1. Set the storage directory path in config.js

    config.storageDirPath = '<data-storage-dirpath>';
    
  2. Modify berrynet-manager (in /usr/local/bin)

    ...
    start | stop | status)
    sudo systemctl $1 \
            ...
            # add the line below
            data_collector.service
        ;;
    log)
        ...
        # add the line below
        sudo journalctl -x --no-pager -u data_collector.service
        ;;
    
  3. Restart BerryNet

    $ berrynet-manager stop
    $ berrynet-manager start
    
Clone this wiki locally