Update Specifications.md
This commit is contained in:
parent
9c6dab6a45
commit
125e59ff1a
@ -24,8 +24,8 @@ or just a call ./deployer deploy/remove all/service_name
|
|||||||
|
|
||||||
# Description
|
# Description
|
||||||
|
|
||||||
deploy_service(service)
|
deploy_service(service)
|
||||||
{
|
{
|
||||||
- determines if the service is on this server
|
- determines if the service is on this server
|
||||||
if it is:
|
if it is:
|
||||||
- checks the environment (/data/mounted and new nginx conf exists)
|
- 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)
|
- calls the bash scripts specific to the service if they exist (deploy_as)
|
||||||
- creates user and .env variables if necessary
|
- creates user and .env variables if necessary
|
||||||
- calls the deployment functions from the libraries
|
- 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
|
- determines if the service is on this server
|
||||||
if it is:
|
if it is:
|
||||||
- calls the removing bash scripts specific to the service if they exist
|
- 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 .env variables
|
||||||
- deletes directories
|
- deletes directories
|
||||||
- deletes user
|
- 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**
|
**main.cpp**
|
||||||
- reads the instructions
|
- reads the instructions
|
||||||
|
Loading…
Reference in New Issue
Block a user