This commit is contained in:
Éric Gaspar 2024-10-20 22:22:29 +02:00
parent dec5037d52
commit e527c2abf1
3 changed files with 0 additions and 16 deletions

View File

@ -25,8 +25,6 @@ ynh_script_progression "Setting up source files..."
ynh_setup_source --dest_dir="$install_dir"
#chmod -R o-rwx "$install_dir"
#chown -R "$app:www-data" "$install_dir"
chmod +x "$install_dir/server/bin/prod.js"
#=================================================
@ -47,11 +45,6 @@ ynh_script_progression "Adding $app's configuration..."
ynh_config_add --template="config.js" --destination="$install_dir/server/config.js"
#chmod 400 "$install_dir/server/config.js"
#chown "$app:" "$install_dir/server/config.js"
#=================================================
# SPECIFIC SETUP
#=================================================
# BUILD APP
#=================================================

View File

@ -10,12 +10,8 @@ ynh_script_progression "Restoring the app main directory..."
ynh_restore "$install_dir"
#chmod -R o-rwx "$install_dir"
#chown -R "$app:www-data" "$install_dir"
chmod +x "$install_dir/server/bin/prod.js"
#=================================================
# SPECIFIC RESTORATION
#=================================================
# REINSTALL DEPENDENCIES
#=================================================

View File

@ -24,8 +24,6 @@ ynh_script_progression "Upgrading source files..."
ynh_setup_source --dest_dir="$install_dir" --keep="server/config.js" --full_replace
#chmod -R o-rwx "$install_dir"
#chown -R "$app:www-data" "$install_dir"
chmod +x "$install_dir/server/bin/prod.js"
#=================================================
@ -53,9 +51,6 @@ ynh_script_progression "Updating configuration..."
ynh_config_add --template="config.js" --destination="$install_dir/server/config.js"
#chmod 400 "$install_dir/server/config.js"
#chown "$app:" "$install_dir/server/config.js"
#=================================================
# BUILD APP
#=================================================