summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Moch2019-04-16 06:00:12 -0400
committerDaniel Moch2019-04-16 06:00:12 -0400
commitefe586f1ef3494a1ef236b3efe4c47b119de09bb (patch)
tree1be34fff3259ddda24b9b22e2d359ae7f1cd2a4d
parent217a71ca6bd42a056ab7d65387dd85c522e40879 (diff)
downloadmastodon-efe586f1ef3494a1ef236b3efe4c47b119de09bb.tar.gz
upgpkg: mastodon 2.8.0-1
Correct post-install message createdb -d mastodon should be createuser -d mastodon
-rw-r--r--mastodon.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon.install b/mastodon.install
index edbad88..749a603 100644
--- a/mastodon.install
+++ b/mastodon.install
@@ -6,7 +6,7 @@ post_install() {
echo "To setup Mastodon, enable and start PostgreSQL and Redis:
# systemctl enable --now postgresql redis
Create the Mastodon PostgreSQL user and grant it the ability to create databases with:
-# su - postgres -s /bin/sh -c \"createdb -d mastodon\"
+# su - postgres -s /bin/sh -c \"createuser -d mastodon\"
Then, run:
# su - mastodon -s /bin/sh -c \"cd '/var/lib/mastodon'; RAILS_ENV=production bundle exec rails mastodon:setup\"
Finally, enable and start all the required services: