Compare commits
No commits in common. "64d8d629fe7d13bc57276706e48f73ab3b836bda" and "e9fb08f2ca4c6c3be29921a341519030b3ce956b" have entirely different histories.
64d8d629fe
...
e9fb08f2ca
@ -15,9 +15,3 @@ db['db'] = 'Database Name'
|
||||
#- db['data_path_mysql'] = '/var/lib/mysql'
|
||||
#- db['data_path_mysql_backup'] = '/var/lib/mysql'
|
||||
#- db['port'] = 3306
|
||||
#- db['host'] = localhost
|
||||
|
||||
## Api Configuration
|
||||
api = {}
|
||||
#- api['ip'] = '0.0.0.0'
|
||||
#- api['port'] = 81
|
||||
|
0
config/configfiles.py
Normal file
0
config/configfiles.py
Normal file
@ -14,12 +14,9 @@ echo "Executing Clean tasks"
|
||||
rm -rf src/docker-compose.yml || CLEAN_ERROR_ID=1
|
||||
|
||||
## Clean DB-Data
|
||||
sudo rm -rf {% if db.data_path_mysql is defined %}{{ data_path_mysql }}{% else %}./src/db/cache/mysql_data{% endif %} || CLEAN_ERROR_ID=3
|
||||
rm -rf {% if db.data_path_mysql is defined %}{{ data_path_mysql }}{% else %}./src/db/cache/mysql_data{% endif %} || CLEAN_ERROR_ID=3
|
||||
rm -rf {% if db.data_path_mysql_backup is defined %}{{ data_path_mysql_backup }}{% else %}./src/db/cache/mysql_backup{% endif %} || CLEAN_ERROR_ID=4
|
||||
|
||||
## Remove everything in binary directory
|
||||
rm -rf bin/* || CLEAN_ERROR_ID=5
|
||||
rm -rf bin/.env || CLEAN_ERROR_ID=6
|
||||
# Post Task
|
||||
## Remove Clean script itself
|
||||
rm -rf src/clean-data.sh || CLEAN_ERROR_ID=2
|
||||
|
Loading…
Reference in New Issue
Block a user