mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
Update upgrade
This commit is contained in:
parent
1adb713ce7
commit
a7b6c57147
1 changed files with 0 additions and 9 deletions
|
@ -28,13 +28,6 @@ ynh_systemctl --action="stop" --service="${app}"
|
||||||
|
|
||||||
ynh_systemctl --action="stop" --service="${app}_workers"
|
ynh_systemctl --action="stop" --service="${app}_workers"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# INSTALL DEPENDENCIES
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression "Installing dependencies..."
|
|
||||||
|
|
||||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir"
|
|
||||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app: "$install_dir"
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CONFIGURE THE INSTALL SCRIPT
|
# CONFIGURE THE INSTALL SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -42,8 +35,6 @@ ynh_script_progression "Installing service script..."
|
||||||
|
|
||||||
redis_db=$(ynh_redis_get_free_db)
|
redis_db=$(ynh_redis_get_free_db)
|
||||||
ynh_config_add --template=".env.production" --destination="$install_dir/.env"
|
ynh_config_add --template=".env.production" --destination="$install_dir/.env"
|
||||||
#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 400 $install_dir/.env
|
|
||||||
#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown $app: "$install_dir/.env"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL PYTHON DEPENDENCIES
|
# INSTALL PYTHON DEPENDENCIES
|
||||||
|
|
Loading…
Reference in a new issue