From 82ae07e48b3923ad3896052da286ca69d08d5da1 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 3 Apr 2017 00:08:40 +0200 Subject: [PATCH 1/2] Fix install instructions. Closes GH-745. --- docs/Running-Mastodon/Production-guide.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/Running-Mastodon/Production-guide.md b/docs/Running-Mastodon/Production-guide.md index a6c776f0..7af92fd9 100644 --- a/docs/Running-Mastodon/Production-guide.md +++ b/docs/Running-Mastodon/Production-guide.md @@ -95,7 +95,6 @@ Setup a user and database for Mastodon: In the prompt: CREATE USER mastodon CREATEDB; - CREATE DATABASE mastodon_production OWNER mastodon; \q ## Rbenv @@ -210,7 +209,7 @@ Restart=always WantedBy=multi-user.target ``` -This allows you to `sudo systemctl enable mastodon-*.service` and `sudo systemctl start mastodon-*.service` to get things going. +This allows you to `sudo systemctl enable /etc/systemd/system/mastodon-*.service` and `sudo systemctl start mastodon-*.service` to get things going. ## Cronjobs From 9ca548c17e596d2d898dcd5b0183f1260c316561 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 3 Apr 2017 00:10:51 +0200 Subject: [PATCH 2/2] Also fix the start command. --- docs/Running-Mastodon/Production-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Running-Mastodon/Production-guide.md b/docs/Running-Mastodon/Production-guide.md index 7af92fd9..f0dd7bd2 100644 --- a/docs/Running-Mastodon/Production-guide.md +++ b/docs/Running-Mastodon/Production-guide.md @@ -209,7 +209,7 @@ Restart=always WantedBy=multi-user.target ``` -This allows you to `sudo systemctl enable /etc/systemd/system/mastodon-*.service` and `sudo systemctl start mastodon-*.service` to get things going. +This allows you to `sudo systemctl enable /etc/systemd/system/mastodon-*.service` and `sudo systemctl start mastodon-web.service mastodon-sidekiq.service mastodon-streaming.service` to get things going. ## Cronjobs