motorcortex.conf
motorcortex.conf file description
less than a minute
/etc/motorcortex/config/
└── motorcortex.conf
motorcortex.conf is a startup file that is loaded by the start service (e.g. when you run sudo motorcortex start), that determines which executable needs to be run and what command-line parameters should be passed to this executable.
Below is the motorcortex.conf of the standard robot application, complete — the file is only three lines:
EXECUTABLE_PATH="/usr/local/bin/" # path of the executable
EXECUTABLE=motorcortex-robot # executable name
OPTIONS="-c /etc/motorcortex/config/config.json" # command line options
OPTIONS is where config.json is named, which makes this file the entry point to the whole configuration: everything else is found from there.