-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
restart_services.sh: restart pipeline service when .env
file changes
#380
Conversation
The script did not work with Hence, the script solely depends on the editor's behavior. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,thanks, we might evolve this script to ENTRYPOINT later on
I might be missing background information on requirements for this script. In case list of tracked events should be extended to also cover e.g. There's a handy list of file watchers in case this topic would be revisited in future. |
2272c54
to
dff373d
Compare
Environment variable `KCI_API_TOKEN` is required to run pipeline services. The variable is defined in `.env` file. Add a script to monitor `.env` file. If the file changes are detected, that is if the token is modified, restart all the services. Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
dff373d
to
57bc3ac
Compare
Environment variable
KCI_API_TOKEN
is required to run pipeline services. The variable is defined in.env
file. Add a script to monitor.env
file usinginotifywait
tool. If the file changes are detected, that is if the token is modified, restart all the services.