From e089c660831425b67aca7e9a594449583096eb20 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 a6c776f092..7af92fd944 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 02fac04fc5501277ab25639e639d17907d87a44a 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 7af92fd944..f0dd7bd2b5 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