1
0
Fork 0
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:
Josué Tille 2019-10-01 21:31:45 +02:00
parent c0f41777fd
commit 55ec5409da
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
4 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@ source ./_common.sh
ynh_script_progression --message="Loading installation settings..." ynh_script_progression --message="Loading installation settings..."
old_domain=$YNH_APP_OLD_DOMAIN old_domain=$YNH_APP_OLD_DOMAIN
domain=$YNH_APP_NEW_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 # STANDARD MODIFICATIONS

View file

@ -18,7 +18,7 @@ ynh_script_progression --message="Validating installation parameters..."
# RETRIEVE ARGUMENTS FROM THE MANIFEST # RETRIEVE ARGUMENTS FROM THE MANIFEST
domain=$YNH_APP_ARG_DOMAIN 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 admin=$YNH_APP_ARG_ADMIN
db_user="pgadmin" db_user="pgadmin"
admin_pwd=$YNH_APP_ARG_ADMIN_PASSWORD admin_pwd=$YNH_APP_ARG_ADMIN_PASSWORD
@ -112,7 +112,7 @@ yunohost app addaccess --users=$admin $app
# Configuration de logrotate # Configuration de logrotate
ynh_script_progression --message="Configuring log rotation..." ynh_script_progression --message="Configuring log rotation..."
ynh_use_logrotate /var/log/pgadmin ynh_use_logrotate --logfile /var/log/pgadmin
# reload uwsgi # reload uwsgi
ynh_script_progression --message="Starting pgadmin services..." --weight=3 ynh_script_progression --message="Starting pgadmin services..." --weight=3

View file

@ -65,7 +65,7 @@ yunohost app addaccess --users=$admin $app
# Configuration de logrotate # Configuration de logrotate
ynh_script_progression --message="Configuring log rotation..." ynh_script_progression --message="Configuring log rotation..."
ynh_use_logrotate /var/log/pgadmin ynh_use_logrotate --logfile /var/log/pgadmin
# reload uwsgi and nginx # reload uwsgi and nginx
ynh_script_progression --message="Starting pgadmin services..." --weight=3 ynh_script_progression --message="Starting pgadmin services..." --weight=3

View file

@ -17,7 +17,7 @@ source ./_common.sh
# LOAD SETTINGS # LOAD SETTINGS
ynh_script_progression --message="Loading installation settings..." ynh_script_progression --message="Loading installation settings..."
domain=$(ynh_app_setting_get --app $app --key domain) 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) admin=$(ynh_app_setting_get --app $app --key admin)
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
@ -65,7 +65,7 @@ set_permission
# Configuration de logrotate # Configuration de logrotate
ynh_script_progression --message="Configuring log rotation..." ynh_script_progression --message="Configuring log rotation..."
ynh_use_logrotate /var/log/pgadmin --nonappend ynh_use_logrotate --logfile /var/log/pgadmin --nonappend
# reload uwsgi # reload uwsgi
ynh_script_progression --message="Restarting pgadmin services..." --weight=3 ynh_script_progression --message="Restarting pgadmin services..." --weight=3