Merge pull request #10 from YunoHost-Apps/updates

Updates
This commit is contained in:
Jens Diemer 2022-08-16 08:55:43 +02:00 committed by GitHub
commit 71d31d565c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 3 deletions

View file

@ -34,7 +34,7 @@ default_from_email="${app}@${domain}"
public_path=/var/www/$app
final_path=/opt/yunohost/$app
log_path=/var/log/$app
log_file="${log_path}/django_example_ynh.log"
log_file="${log_path}/${app}.log"
#=================================================
# COMMON VARIABLES

View file

@ -30,7 +30,11 @@ final_path=$(ynh_app_setting_get --app="$app" --key=final_path)
log_path=$(ynh_app_setting_get --app="$app" --key=log_path)
port=$(ynh_app_setting_get --app="$app" --key=port)
db_pwd=$(ynh_app_setting_get --app="$app" --key=psqlpwd)
db_name=$(ynh_sanitize_dbid --db_name="$app")
db_user=$db_name
redis_db=$(ynh_app_setting_get --app="$app" --key=redis_db)
#-------------------------------------------------

View file

@ -228,7 +228,7 @@ then
fi
#=================================================
# Start django_example_ynh via systemd
# Start the app server via systemd
#=================================================
ynh_script_progression --message="Starting django_example_ynh's services..." --weight=5

View file

@ -207,7 +207,7 @@ chmod o-rwx "$public_path"
chmod o-rwx "$final_path"
#=================================================
# Start django_example_ynh via systemd
# Start the app server via systemd
#=================================================
ynh_script_progression --message="Starting django_example_ynh's services..." --weight=5