mirror of
https://github.com/YunoHost-Apps/wikijs_ynh.git
synced 2024-09-03 20:36:09 +02:00
Reorder database removal
This commit is contained in:
parent
9656f9f1c0
commit
402b2ed721
2 changed files with 8 additions and 8 deletions
|
@ -30,7 +30,7 @@ bindIP: 0.0.0.0
|
|||
db:
|
||||
type: mysql
|
||||
# PostgreSQL / MySQL / MariaDB / MS SQL Server only:
|
||||
host: postgres
|
||||
host: localhost
|
||||
port: 5432
|
||||
user: __DB_NAME__
|
||||
pass: __DB_PWD__
|
||||
|
|
|
@ -41,6 +41,13 @@ fi
|
|||
# Remove the dedicated systemd config
|
||||
#ynh_remove_systemd_config
|
||||
|
||||
#=================================================
|
||||
# REMOVE THE POSTGRESQL DATABASE
|
||||
#=================================================
|
||||
|
||||
# Remove a database if it exists, along with the associated user
|
||||
ynh_psql_remove_db "$db_name" "$db_name"
|
||||
|
||||
#=================================================
|
||||
# REMOVE DEPENDENCIES
|
||||
#=================================================
|
||||
|
@ -50,13 +57,6 @@ ynh_remove_app_dependencies
|
|||
ynh_use_nodejs
|
||||
ynh_remove_nodejs
|
||||
|
||||
#=================================================
|
||||
# REMOVE THE POSTGRESQL DATABASE
|
||||
#=================================================
|
||||
|
||||
# Remove a database if it exists, along with the associated user
|
||||
ynh_psql_remove_db "$db_name" "$db_name"
|
||||
|
||||
#=================================================
|
||||
# REMOVE APP MAIN DIR
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue