summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Wang2023-02-13 17:11:22 -0500
committerAnthony Wang2023-02-13 17:11:22 -0500
commitff01f70d7b4ba348552f79baddf4167504942e00 (patch)
tree6e088f292b66ca11a09bd58a507a16f28a653af2
parent3f63b41b0aecc8dc699787e96436c0bb022ba3d9 (diff)
downloadaur-ff01f70d7b4ba348552f79baddf4167504942e00.tar.gz
Add NODE_OPTIONS=--openssl-legacy-provider to post_install() instructions
-rw-r--r--mastodon.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon.install b/mastodon.install
index bec06b5a178f..1c17b03af73d 100644
--- a/mastodon.install
+++ b/mastodon.install
@@ -6,7 +6,7 @@ Create the Mastodon PostgreSQL user and grant it the ability to create databases
Then, run:
# cd /var/lib/mastodon
# sudo chown mastodon:mastodon -R .
-# sudo -u mastodon RAILS_ENV=production bundle exec rails mastodon:setup
+# sudo -u mastodon RAILS_ENV=production NODE_OPTIONS=--openssl-legacy-provider bundle exec rails mastodon:setup
Finally, enable and start all the required services:
# systemctl enable --now mastodon.target"
}