|
|
@ -95,7 +95,6 @@ Setup a user and database for Mastodon:
|
|
|
|
In the prompt:
|
|
|
|
In the prompt:
|
|
|
|
|
|
|
|
|
|
|
|
CREATE USER mastodon CREATEDB;
|
|
|
|
CREATE USER mastodon CREATEDB;
|
|
|
|
CREATE DATABASE mastodon_production OWNER mastodon;
|
|
|
|
|
|
|
|
\q
|
|
|
|
\q
|
|
|
|
|
|
|
|
|
|
|
|
## Rbenv
|
|
|
|
## Rbenv
|
|
|
@ -210,7 +209,7 @@ Restart=always
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
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
|
|
|
|
## Cronjobs
|
|
|
|
|
|
|
|
|
|
|
|