1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

Fix permissions of public nginx-served directory

This commit is contained in:
Salamandar 2024-05-27 12:28:15 +02:00
parent f5f9c3b7ae
commit 07c74254f0

View file

@ -99,6 +99,9 @@ pushd "$install_dir/live"
ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:precompile ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:precompile
popd popd
chown "$app:www-data" "$install_dir"
chown -R "$app:www-data" "$install_dir/live/public"
#================================================= #=================================================
# REAPPLY SYSTEM CONFIGURATIONS # REAPPLY SYSTEM CONFIGURATIONS
#================================================= #=================================================