aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authorTagadda <36127788+Tagadda@users.noreply.github.com>2025-08-24 13:48:33 +0200
committerTagadda <36127788+Tagadda@users.noreply.github.com>2025-08-24 13:48:33 +0200
commitefb0166d5be53944abb484c0077aaa1e301d3cea (patch)
tree428a27142f762537cbe828a3238d718dd5024608 /scripts/install
parent730497da8b99770c9f5f96b5c3e98bfc035f0d08 (diff)
downloadmastodon_ynh-efb0166d5be53944abb484c0077aaa1e301d3cea.tar.gz
mastodon_ynh-efb0166d5be53944abb484c0077aaa1e301d3cea.tar.bz2
mastodon_ynh-efb0166d5be53944abb484c0077aaa1e301d3cea.zip
Reimplement warnings for debugging
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/install b/scripts/install
index 21361f2..49297e6 100644
--- a/scripts/install
+++ b/scripts/install
@@ -125,11 +125,11 @@ chmod 400 "$config"
chown $app:$app "$config"
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 db:migrate --quiet
- ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:precompile --quiet
+ ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails db:migrate --quiet
+ ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:precompile --quiet
# Create the first admin user
- ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=Owner > /dev/null
- ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/tootctl accounts approve "$admin" > /dev/null
+ ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=Owner
+ ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/tootctl accounts approve "$admin"
popd
#=================================================