From 7f7e0c6e015f80c7dc7f7a83f3ab86fb93947e0a Mon Sep 17 00:00:00 2001 From: Kiril KJiroski <kiril.kjiroski@finki.ukim.mk> Date: Mon, 12 Sep 2022 08:40:23 +0000 Subject: [PATCH] Update install.md --- doc/install.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/install.md b/doc/install.md index 5e4bb03..b2307e8 100644 --- a/doc/install.md +++ b/doc/install.md @@ -66,8 +66,20 @@ Start SOCTools: * `ansible-playbook -i inventories soctools.yml -t start-docker-containers` * `ansible-playbook -i inventories soctools.yml -t init` + +## Stopping and Restarting SOCTools +In case you need to restart whole server, the proper procedure to this is following: + Stop SOCTools: -* `ansible-playbook -i inventories soctools.yml -t stop` +* `ansible-playbook -i inventories soctools.yml -t stop-docker-containers` + +Shutdown or restart the server/host. + +Start the server/host. + +Start SOCTools: +* `ansible-playbook -i inventories soctools.yml -t start-docker-containers` + ## Errors building SOCTools If there are any errors during building of SOCTools then it is often best to start from the top. The easiest way is to delete any existing Docker images that are already built and then restart the installation. To prune existing Docker images run `docker system prune -a`. This command will delete all images so it assumes that SOCTools is the only service running on the server. -- GitLab