# Discourse 설치 중 Bootstrap 오류: ENOENT - /etc/runit/1.d/letsencrypt

**URL:** https://meta.discourse.org/t/bootstrap-error-during-discourse-install-enoent-etc-runit-1-d-letsencrypt/376416
**Category:** Self-hosting
**Created:** [7월 29, 2025, 1:28오후 UTC](https://meta.discourse.org/t/bootstrap-error-during-discourse-install-enoent-etc-runit-1-d-letsencrypt/376416 "2025-07-29T13:28:10Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [7월 29, 2025, 8:48오후 UTC](https://meta.discourse.org/t/bootstrap-error-during-discourse-install-enoent-etc-runit-1-d-letsencrypt/376416/2 "2025-07-29T20:48:03Z")

</div>

> [@rogu](#):
>
> 에러가 플러그인이 `/etc/runit/1.d/letsencrypt` 파일에 대해 `replace` 명령을 실행하려 할 때 발생하고 있는 것으로 보입니다.

플러그인? 그것은 당신의 `app.yml`에 있는 `cups` 코드일 텐데 맞습니까? 다른 인증서를 추가하려는 건가요? [여기](https://meta.discourse.org/t/set-up-let-s-encrypt-with-multiple-domains-redirects/56685)에서처럼요? 실제 코드와 두 인증서를 포함해 주실 수 있나요?

말씀하신 대로, 그 `runit`은 더 이상 존재하지 않으며, 이제 그 마법은 컨테이너 내부의 `/usr/local/bin/letsencrypt`에 있습니다.

> <https://github.com/discourse/discourse_docker/blob/main/templates/web.letsencrypt.ssl.template.yml#L67>

사이트가 `www.mysite.org`이고 `forum.mysite.org`에 대한 인증서도 필요하시다면, 아마 다음과 같은 것이 필요할 것이라 **생각** 합니다:

```plaintext
- replace:
    filename: "/usr/local/bin/letsencrypt"
    from: "/-d www.mysite.org/"
    to: "-d www.mysite.org -d forum.mysite.org "
    global: true

```

제가 할 것(당신에게는 도움이 안 될 수도 있지만)은 컨테이너에 들어가서 `apt update;apt install -y vim`을 실행한 후, `/usr/local/bin/letsencrypt`를 편집하여 원하는 인증서를 요청하도록 하는 것입니다.

위에서 링크한 Let’s Encrypt 토픽에 코드를 추가했는데, 이 코드를 사용하면 도메인을 입력하고 `app.yml`에 복사/붙여넣기할 수 있는 코드를 얻을 수 있습니다.

---

_[View the full topic](https://meta.discourse.org/t/bootstrap-error-during-discourse-install-enoent-etc-runit-1-d-letsencrypt/376416)._
