summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFrancis Dinh <normandy@firemail.cc>2018-12-19 16:06:05 -0500
committerFrancis Dinh <normandy@firemail.cc>2018-12-19 16:06:05 -0500
commit8c4fa6842841ca561bbf5390ddf6c2635c4a7eb7 (patch)
tree818b20b0dd19bd21e4ec55ed073a35e1b6580661 /README.md
parentf98ee9402fcafff362ab2446f386214d7a5c41c7 (diff)
Improve systemd service documentation
Use `systemctl` instead of `service` since it's not guaranteed the latter will be on the system (e.g. Arch does not have it).
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 9c4f0c630..f3c286ce2 100644
--- a/README.md
+++ b/README.md
@@ -55,9 +55,9 @@ While we don't provide docker files, other people have written very good ones. T
Pleroma comes with two frontends. The first one, Pleroma FE, can be reached by normally visiting the site. The other one, based on the Mastodon project, can be found by visiting the /web path of your site.
### As systemd service (with provided .service file)
-Example .service file can be found in `installation/pleroma.service` you can put it in `/etc/systemd/system/`.
-Running `service pleroma start`
-Logs can be watched by using `journalctl -fu pleroma.service`
+Example .service file can be found in `installation/pleroma.service`. Copy this to `/etc/systemd/system/`.
+Running `systemctl enable --now pleroma.service` will run Pleroma and enable startup on boot.
+Logs can be watched by using `journalctl -fu pleroma.service`.
### As OpenRC service (with provided RC file)
Copy ``installation/init.d/pleroma`` to ``/etc/init.d/pleroma``.
@@ -65,7 +65,7 @@ You can add it to the services ran by default with:
``rc-update add pleroma``
### Standalone/run by other means
-Run `mix phx.server` in repository's root, it will output log into stdout/stderr
+Run `mix phx.server` in repository's root, it will output log into stdout/stderr.
### Using an upstream proxy for federation