diff --git a/HOWTOS.md b/HOWTOS.md index c2e44a00dad555ff5dc456de1d108c7573d96eaa..fd81ba4001ee1e40fe4642e4287efbe2a7d11942 100644 --- a/HOWTOS.md +++ b/HOWTOS.md @@ -11,3 +11,12 @@ To make modifications to the main NiFi pipeline and add it to the Ansible playbo `docker cp <CONTAINER ID>:/opt/nifi/nifi-current/conf/flow.xml.gz .` * Convert flowx.xml.gz to new template `utils/flow2template.py flow.xml.gz roles/nifi/templates/flow.xml.j2` + + +Restart services inside docker containers +----------------------------------------- +To restart services inside docker containers after changes in configuration files: + 1. Attache container: docker exec -it container_id_or_name bash (example: docker exec -it soctools-keycloak bash) + 2. List services and their statuses: supervisorctl status + 3. Restart service: supervisorctl restart supervisor_service_name (example: supervisorctl restart keycloak) + 4. Detach from container: exit diff --git a/roles/build/files/kibanalogrotate.conf b/roles/build/files/kibanalogrotate.conf deleted file mode 100644 index 3b753cebacfcc15e97862cab618cbbdaa93686a3..0000000000000000000000000000000000000000 --- a/roles/build/files/kibanalogrotate.conf +++ /dev/null @@ -1,8 +0,0 @@ -/usr/share/kibana/kblog -{ - rotate 0 - daily - missingok - notifempty - copytruncate -}