From 856768a4701d8da660975c34a8142c5b121fdd3b Mon Sep 17 00:00:00 2001 From: eleonore12345 Date: Mon, 29 Jul 2024 18:02:49 +0200 Subject: [PATCH] avec call --- Specifications.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Specifications.md b/Specifications.md index 87dbf74..65dc2b6 100644 --- a/Specifications.md +++ b/Specifications.md @@ -10,12 +10,25 @@ On every server, there will be an instance of the Shl8s deployer. This C++ deplo It then procedes to execute the right functions for the service. The deployer will call bash scripts specific to the service, as well as functions from libraries specific to setting the nginx configuration, the vpn, ssl certification, etc. +# Call + +./deployer +mini interaction ? +1 - if you want to deploy all services +2 - if you want to deploy one service + name of service : +3 - if you want to remove all services +4 - if you want to remove one service + name of service : +or just a call ./deployer deploy/remove all/service_name + # Description + deploy_service(service) { - determines if the service is on this server if it is: - - checks the environment + - checks the environment (/data/mounted and new nginx conf exists) - creates directories (secret, data, http) if necessary - calls the bash scripts specific to the service if they exist (deploy_as) - creates user and .env variables if necessary