# Администратор Discourse с 10-летним опытом самохостинга спрашивает: почему очистка лаунчера не включена в процесс пересборки?

**URL:** https://meta.discourse.org/t/10-year-self-hosted-discourse-admin-asks-why-not-launcher-cleanup-as-part-of-rebuild/378204
**Category:** Self-hosting
**Created:** [11.Август.2025 19:13:10 UTC](https://meta.discourse.org/t/10-year-self-hosted-discourse-admin-asks-why-not-launcher-cleanup-as-part-of-rebuild/378204 "2025-08-11T19:13:10Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)
#### Post date: [12.Август.2025 16:23:12 UTC](https://meta.discourse.org/t/10-year-self-hosted-discourse-admin-asks-why-not-launcher-cleanup-as-part-of-rebuild/378204/9 "2025-08-12T16:23:12Z")

</div>

Прямой ответ: вы можете выполнить `echo y | launcher cleanup`, чтобы заранее отправить “y”.

Косвенный ответ: фактическая очистка лаунчера (после этого) эквивалентна выполнению этих двух команд:

```plaintext
docker container prune --force --filter until=24h
docker image prune --all --force --filter until=24h

```

А запрос, о котором вы, вероятно, говорите, относится к удалению старых директорий с данными PostgreSQL:

```plaintext
rm -rf /var/discourse/shared/standalone/postgres_data_old*

```

Вы можете отказаться от зависимости от лаунчера и использовать эти команды напрямую.

---

_[View the full topic](https://meta.discourse.org/t/10-year-self-hosted-discourse-admin-asks-why-not-launcher-cleanup-as-part-of-rebuild/378204)._
