diff options
| author | OniriCorpe <oniricorpe@disroot.org> | 2024-02-25 01:03:06 +0100 |
|---|---|---|
| committer | OniriCorpe <oniricorpe@disroot.org> | 2024-02-25 01:03:06 +0100 |
| commit | 3fba232c407aa0f9ecf3cf91fc29c23b2608b9d0 (patch) | |
| tree | a0d1ca27f89cbfdeb2329e7e95d24187d227ac7e | |
| parent | 345a0c38c1eb16e1789c9e9d1b3fbb3d6720939e (diff) | |
| download | mastodon_ynh-3fba232c407aa0f9ecf3cf91fc29c23b2608b9d0.tar.gz mastodon_ynh-3fba232c407aa0f9ecf3cf91fc29c23b2608b9d0.tar.bz2 mastodon_ynh-3fba232c407aa0f9ecf3cf91fc29c23b2608b9d0.zip | |
'tootctl self-destruct --dry-run' to prevent accidental run
| -rw-r--r-- | doc/ADMIN.md | 4 | ||||
| -rw-r--r-- | doc/ADMIN_fr.md | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/ADMIN.md b/doc/ADMIN.md index 6ad1ab4..dfce904 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -60,9 +60,11 @@ Otherwise your data will remain in federation cache for ever. ```bash screen -sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl self-destruct +sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl self-destruct --dry-run ``` +Remove the `--dry-run` part only when you're absolutely certain that you really want to delete your Mastodon instance. + Check [the official documentation](https://docs.joinmastodon.org/admin/tootctl/#self-destruct) for more details. ## Known Bugs diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index 46849c7..c879081 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -60,9 +60,11 @@ Sinon, vos données resteront dans le cache de la fédération pour toujours. ```bash screen -sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl self-destruct +sudo cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl self-destruct --dry-run ``` +Retirez la partie `--dry-run` uniquement lorsque vous avez la certitude que que vous voulez vraiment supprimer votre instance Mastodon. + Consulter [la documentation officielle](https://docs.joinmastodon.org/admin/tootctl/#self-destruct) pour plus de détails. ## Bugs connus |
