Remove the cronjobs section from the production guide
This commit is contained in:
parent
bccde55c91
commit
e191aaa7a3
1 changed files with 2 additions and 12 deletions
|
@ -335,16 +335,6 @@ WantedBy=multi-user.target
|
||||||
|
|
||||||
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.
|
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
|
|
||||||
|
|
||||||
There are several tasks that should be run once a day to ensure that mastodon is
|
|
||||||
running smoothly. As your mastodon user run `crontab -e` and enter the following
|
|
||||||
|
|
||||||
```sh
|
|
||||||
RAILS_ENV=production
|
|
||||||
@daily cd /home/mastodon/live && /home/mastodon/.rbenv/shims/bundle exec rake mastodon:daily > /dev/null
|
|
||||||
```
|
|
||||||
|
|
||||||
## Things to look out for when upgrading Mastodon
|
## Things to look out for when upgrading Mastodon
|
||||||
|
|
||||||
If you want a stable release for production use, you should use tagged releases. To checkout the latest available tagged version:
|
If you want a stable release for production use, you should use tagged releases. To checkout the latest available tagged version:
|
||||||
|
|
Loading…
Reference in a new issue