Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
soctools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gn4-3-wp8-t3.1 SOC
soctools
Commits
77f795bf
Commit
77f795bf
authored
3 years ago
by
Kiril KJiroski
Browse files
Options
Downloads
Patches
Plain Diff
Update HOWTOS.md
parent
717f1e49
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/HOWTOS.md
+7
-7
7 additions, 7 deletions
doc/HOWTOS.md
with
7 additions
and
7 deletions
doc/HOWTOS.md
+
7
−
7
View file @
77f795bf
...
...
@@ -59,9 +59,9 @@ Restart services inside docker containers using Ansible
Stop services inside docker containers using Ansible
----------------------------------------------------
*
To stop services for all docker containers together, run the following command:
*
To stop services for all docker containers together, run the following command:
`ansible-playbook -i inventories soctools.yml -t stop`
*
To stop services only for specific docker containers, run the following commands:
*
To stop services only for specific docker containers, run the following commands:
`ansible-playbook -i inventories soctools.yml -t stop-keycloak`
`ansible-playbook -i inventories soctools.yml -t stop-thehive`
`ansible-playbook -i inventories soctools.yml -t stop-cortex`
...
...
@@ -76,9 +76,9 @@ Stop services inside docker containers using Ansible
Restart services inside docker containers manually
--------------------------------------------------
To restart services inside docker containers after changes in configuration files:
1.
Attach
e
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
To restart services inside docker containers after changes in configuration files:
1.
Attach 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
`
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment