Update Specifications.md

This commit is contained in:
eleonore 2024-07-29 16:05:55 +00:00
parent 9c6dab6a45
commit 125e59ff1a

View File

@ -24,8 +24,8 @@ or just a call ./deployer deploy/remove all/service_name
# Description
deploy_service(service)
{
deploy_service(service)
{
- determines if the service is on this server
if it is:
- checks the environment (/data/mounted and new nginx conf exists)
@ -33,10 +33,10 @@ deploy_service(service)
- calls the bash scripts specific to the service if they exist (deploy_as)
- creates user and .env variables if necessary
- calls the deployment functions from the libraries
}
}
remove_service(service) //should there be some kind of less absolute removal?
{
remove_service(service) //should there be some kind of less absolute removal?
{
- determines if the service is on this server
if it is:
- calls the removing bash scripts specific to the service if they exist
@ -44,8 +44,8 @@ remove_service(service) //should there be some kind of less absolute removal?
- deletes .env variables
- deletes directories
- deletes user
- removes from .csv //should this get done before by the sysadmin? but how to check that something was here if it has been removed ?
}
- removes from .csv //should this get done before by the sysadmin? but how to check that something was here if it has been removed ?
}
**main.cpp**
- reads the instructions