aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOniriCorpe <oniricorpe@disroot.org>2024-02-25 01:03:06 +0100
committerOniriCorpe <oniricorpe@disroot.org>2024-02-25 01:03:06 +0100
commit3fba232c407aa0f9ecf3cf91fc29c23b2608b9d0 (patch)
treea0d1ca27f89cbfdeb2329e7e95d24187d227ac7e /doc
parent345a0c38c1eb16e1789c9e9d1b3fbb3d6720939e (diff)
downloadmastodon_ynh-3fba232c407aa0f9ecf3cf91fc29c23b2608b9d0.tar.gz
mastodon_ynh-3fba232c407aa0f9ecf3cf91fc29c23b2608b9d0.tar.bz2
mastodon_ynh-3fba232c407aa0f9ecf3cf91fc29c23b2608b9d0.zip
'tootctl self-destruct --dry-run' to prevent accidental run
Diffstat (limited to 'doc')
-rw-r--r--doc/ADMIN.md4
-rw-r--r--doc/ADMIN_fr.md4
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