mirror of
https://github.com/YunoHost-Apps/pgadmin_ynh.git
synced 2024-09-03 19:56:38 +02:00
Fix args for some helpers
This commit is contained in:
parent
c0f41777fd
commit
55ec5409da
4 changed files with 6 additions and 6 deletions
|
@ -18,7 +18,7 @@ source ./_common.sh
|
|||
ynh_script_progression --message="Loading installation settings..."
|
||||
old_domain=$YNH_APP_OLD_DOMAIN
|
||||
domain=$YNH_APP_NEW_DOMAIN
|
||||
path_url=$(ynh_normalize_url_path $YNH_APP_NEW_PATH)
|
||||
path_url=$(ynh_normalize_url_path --path_url $YNH_APP_NEW_PATH)
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
|
|
|
@ -18,7 +18,7 @@ ynh_script_progression --message="Validating installation parameters..."
|
|||
|
||||
# RETRIEVE ARGUMENTS FROM THE MANIFEST
|
||||
domain=$YNH_APP_ARG_DOMAIN
|
||||
path_url=$(ynh_normalize_url_path $YNH_APP_ARG_PATH)
|
||||
path_url=$(ynh_normalize_url_path --path_url $YNH_APP_ARG_PATH)
|
||||
admin=$YNH_APP_ARG_ADMIN
|
||||
db_user="pgadmin"
|
||||
admin_pwd=$YNH_APP_ARG_ADMIN_PASSWORD
|
||||
|
@ -112,7 +112,7 @@ yunohost app addaccess --users=$admin $app
|
|||
|
||||
# Configuration de logrotate
|
||||
ynh_script_progression --message="Configuring log rotation..."
|
||||
ynh_use_logrotate /var/log/pgadmin
|
||||
ynh_use_logrotate --logfile /var/log/pgadmin
|
||||
|
||||
# reload uwsgi
|
||||
ynh_script_progression --message="Starting pgadmin services..." --weight=3
|
||||
|
|
|
@ -65,7 +65,7 @@ yunohost app addaccess --users=$admin $app
|
|||
|
||||
# Configuration de logrotate
|
||||
ynh_script_progression --message="Configuring log rotation..."
|
||||
ynh_use_logrotate /var/log/pgadmin
|
||||
ynh_use_logrotate --logfile /var/log/pgadmin
|
||||
|
||||
# reload uwsgi and nginx
|
||||
ynh_script_progression --message="Starting pgadmin services..." --weight=3
|
||||
|
|
|
@ -17,7 +17,7 @@ source ./_common.sh
|
|||
# LOAD SETTINGS
|
||||
ynh_script_progression --message="Loading installation settings..."
|
||||
domain=$(ynh_app_setting_get --app $app --key domain)
|
||||
path_url=$(ynh_normalize_url_path $(ynh_app_setting_get --app $app --key path))
|
||||
path_url=$(ynh_normalize_url_path --path_url $(ynh_app_setting_get --app $app --key path))
|
||||
admin=$(ynh_app_setting_get --app $app --key admin)
|
||||
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
|
@ -65,7 +65,7 @@ set_permission
|
|||
|
||||
# Configuration de logrotate
|
||||
ynh_script_progression --message="Configuring log rotation..."
|
||||
ynh_use_logrotate /var/log/pgadmin --nonappend
|
||||
ynh_use_logrotate --logfile /var/log/pgadmin --nonappend
|
||||
|
||||
# reload uwsgi
|
||||
ynh_script_progression --message="Restarting pgadmin services..." --weight=3
|
||||
|
|
Loading…
Reference in a new issue