# When making simple mail server config changes, can the full \`launcher rebuild app\` be sped up?

**URL:** https://meta.discourse.org/t/when-making-simple-mail-server-config-changes-can-the-full-launcher-rebuild-app-be-sped-up/131463
**Category:** Support
**Created:** [October 20, 2019, 4:44am UTC](https://meta.discourse.org/t/when-making-simple-mail-server-config-changes-can-the-full-launcher-rebuild-app-be-sped-up/131463 "2019-10-20T04:44:24Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mreach](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@mreach](https://meta.discourse.org/u/mreach)
#### Post date: [October 20, 2019, 4:44am UTC](https://meta.discourse.org/t/when-making-simple-mail-server-config-changes-can-the-full-launcher-rebuild-app-be-sped-up/131463/1 "2019-10-20T04:44:24Z")

</div>

When I make changes to `/var/discourse/containers/app.yml` that only revolve around `smtp` server config changes, can the `launcher rebuild app` process be significantly sped up?

I suppose I could enter the container, modify the config itself and restart the app there, but it seems like I must be missing a simpler/cleaner solution that won’t require a full rebuild…

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [October 20, 2019, 6:27am UTC](https://meta.discourse.org/t/when-making-simple-mail-server-config-changes-can-the-full-launcher-rebuild-app-be-sped-up/131463/2 "2019-10-20T06:27:51Z")

</div>

SMTP changes do require full rebuild.  
You can go for a two container setup if you want to speed up the process (it will actually just reduce downtime and not the actual process)

The idea is that once set up, people very very rarely have to change SMTP since usually one SMTP is fine and they don’t have to change it every couple of days.

---

<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: [October 20, 2019, 11:39am UTC](https://meta.discourse.org/t/when-making-simple-mail-server-config-changes-can-the-full-launcher-rebuild-app-be-sped-up/131463/3 "2019-10-20T11:39:26Z")

</div>

If you have changed just environment variables you can

```
 ./launcher destroy app
 ./launcher start app

```

---

<div class="post-metadata">

### Author: ![Mark\_Schmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mark_schmucker/32/124810_2.png) [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)
#### Post date: [October 21, 2019, 9:15am UTC](https://meta.discourse.org/t/when-making-simple-mail-server-config-changes-can-the-full-launcher-rebuild-app-be-sped-up/131463/4 "2019-10-21T09:15:51Z")

</div>

What if I have changed code in the repo of a previously-installed plugin? Currently I do a full rebuild, but can I git pull the plugin and somehow restart?

---

<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: [October 21, 2019, 11:16am UTC](https://meta.discourse.org/t/when-making-simple-mail-server-config-changes-can-the-full-launcher-rebuild-app-be-sped-up/131463/5 "2019-10-21T11:16:11Z")

</div>

It’s not recommended. If you want to rebuild with minimal downtime you can search here for “two container.”

To restart rails you can use

```
 sv restart unicorn

```

But there’s other stuff you need to do to modify a plugin other than a pull.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 20, 2019, 11:22am UTC](https://meta.discourse.org/t/when-making-simple-mail-server-config-changes-can-the-full-launcher-rebuild-app-be-sped-up/131463/6 "2019-11-20T11:22:15Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
