1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00
This commit is contained in:
ericgaspar 2021-11-19 11:15:09 +01:00
parent 548e23a28c
commit a71fefa764
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 5 additions and 5 deletions

View file

@ -101,7 +101,7 @@ ynh_setup_source --dest_dir=$final_path
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" chown -R $app:$app "$final_path"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
@ -120,7 +120,7 @@ ynh_script_progression --message="Building $app... (this will take some time and
pushd $final_path/programs/server pushd $final_path/programs/server
ynh_use_nodejs ynh_use_nodejs
ynh_exec_as $app env $ynh_node_load_PATH npm install 2>/dev/null ynh_exec_as $app env $ynh_node_load_PATH npm install --unsafe-perm 2>/dev/null
popd popd
#================================================= #=================================================

View file

@ -65,7 +65,7 @@ ynh_restore_file --origin_path="$final_path"
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" chown -R $app:$app "$final_path"
#================================================= #=================================================
# SPECIFIC RESTORATION # SPECIFIC RESTORATION

View file

@ -93,7 +93,7 @@ fi
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" chown -R $app:$app "$final_path"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
@ -119,7 +119,7 @@ ynh_script_progression --message="Building $app... (this will take some time and
pushd $final_path/programs/server pushd $final_path/programs/server
ynh_use_nodejs ynh_use_nodejs
ynh_exec_as $app env $ynh_node_load_PATH npm install 2>/dev/null ynh_exec_as $app env $ynh_node_load_PATH npm install --unsafe-perm 2>/dev/null
popd popd
#================================================= #=================================================