Skip to content

Commit 643d43c

Browse files
authored
Update README.md with instructions on how to restart background services (#104)
As part of the work done in Check-API CV2-6478, we removed inotify and changed how we restart background services. References: CV2-6468, CV2-6478, Check-API PR meedan/check-api#2340
1 parent 3a076c0 commit 643d43c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ This is a [Docker Compose](https://docs.docker.com/compose/) configuration that
7575
- Update submodules to their latest commit and check if any example configuration files have been updated: `./bin/git-update.sh`
7676
- Pack your local config files: `./bin/tar-config.sh`
7777
- Restart a service, e.g. Check API: `docker-compose run api bash -c "touch tmp/restart.txt"`
78+
- If you need to restart the background service as well, e.g. Check API background service, run: `docker compose restart api-background` (note that this will stop the containers if you used the flag `--abort-on-container-exit` to run the containers)
7879
- Invoke the Rails console on a service, e.g. Check API: `docker-compose run api bundle exec rails c d`
7980
- Update the Relay schema file on Check API: `docker-compose run api bundle exec rake lapis:graphql:schema`
8081
- Update the JSON API schema file on Check API: `docker-compose run api bundle exec rake jsonapi:resources:update_schema`

0 commit comments

Comments
 (0)