Workers Starting/Stopping

You can start the Station worker very simply.

tethys apps Worker start

But in most cases, you will need to set some configurations. You can add specific settings to the command:

tethys apps Worker start --home-dir='/home/user/.tethys' --daemon --processes 8 --station='station_id'

And you can add specific settings to the file. The worker supports several formats: .json, .yaml, .ini, .py

tethys apps Worker start --config worker.conf.yaml

Full configurations list you can learn in the next page: Workers Configuration.

If you need to stop the process you can run the “stop” command.

tethys apps Worker stop --home-dir='/home/user/.tethys' station_id