####################### Command Line Interface Reference ####################### **Controlling FactoryTX via Terminal** **Access logs** - ``tail -f /data/logs/factorytx_core.log`` - Older factorytx_core log files as well as log files for other services (supervisor, websocket-tunnel, backup, web) are in this folder **View running processes** - ``supervisorctl`` **Start/Stop/Restart Services** - ``supervisorctl factorytx_core`` **Change configuration** - Edit config file directly (vim/nano/etc): ``/data/config/factorytx.conf`` - Restart ``factorytx_core`` service - If the config json is invalid, or the config json is valid, but has invalid parameters, the factorytx_core service will start and fail continuously. The validation error will be visible in the log output. The web UI may not show the config in this state. **Restreaming/Resetting state** - Rename components and restart ``factorytx_core`` service - e.g. Rename "MyReceiver" to "MyReceiver_V2"