diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 335cc9a673..830889fb44 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -9,7 +9,7 @@ { "label": "worker", "type": "shell", - "command": "invoke int.worker", + "command": "invoke worker", "problemMatcher": [], }, { diff --git a/contrib/container/dev-docker-compose.yml b/contrib/container/dev-docker-compose.yml index 94e72abfc3..54636da3d5 100644 --- a/contrib/container/dev-docker-compose.yml +++ b/contrib/container/dev-docker-compose.yml @@ -56,7 +56,7 @@ services: inventree-dev-worker: image: inventree-dev-image build: *build_config - command: invoke int.worker + command: invoke worker depends_on: - inventree-dev-server volumes: diff --git a/contrib/container/docker-compose.yml b/contrib/container/docker-compose.yml index 93440934db..6a0b001f8b 100644 --- a/contrib/container/docker-compose.yml +++ b/contrib/container/docker-compose.yml @@ -83,7 +83,7 @@ services: # If you wish to specify a particular InvenTree version, do so here image: inventree/inventree:${INVENTREE_TAG:-stable} container_name: inventree-worker - command: invoke int.worker + command: invoke worker depends_on: - inventree-server env_file: diff --git a/docs/docs/faq.md b/docs/docs/faq.md index 17cfdf84fe..d8b51ecac6 100644 --- a/docs/docs/faq.md +++ b/docs/docs/faq.md @@ -107,7 +107,7 @@ The background worker process must be started separately to the web-server appli From the top-level source directory, run the following command from a separate terminal, while the server is already running: ``` -invoke int.worker +invoke worker ``` !!! info "Supervisor" diff --git a/docs/docs/start/bare_dev.md b/docs/docs/start/bare_dev.md index 1e02469c63..51324570b9 100644 --- a/docs/docs/start/bare_dev.md +++ b/docs/docs/start/bare_dev.md @@ -52,7 +52,7 @@ source ./env/bin/activate ### Start Background Worker ``` -(env) invoke int.worker +(env) invoke worker ``` This will start the background process manager in the current shell. diff --git a/docs/docs/start/docker_install.md b/docs/docs/start/docker_install.md index 489e904898..1f9d11942a 100644 --- a/docs/docs/start/docker_install.md +++ b/docs/docs/start/docker_install.md @@ -247,7 +247,7 @@ index 8adee63..dc3993c 100644 - image: inventree/inventree:${INVENTREE_TAG:-stable} + image: inventree/inventree:${INVENTREE_TAG:-stable}-custom + pull_policy: never - command: invoke int.worker + command: invoke worker depends_on: - inventree-server ``` diff --git a/tasks.py b/tasks.py index 0e69b733be..9bd434f01b 100644 --- a/tasks.py +++ b/tasks.py @@ -1473,7 +1473,6 @@ internal = Collection( rebuild_thumbnails, showmigrations, translate_stats, - worker, ) ns = Collection( @@ -1491,6 +1490,7 @@ ns = Collection( update, version, wait, + worker, ) ns.add_collection(development, 'dev')