# Add an offline page to display when Discourse is rebuilding or starting up

**URL:** https://meta.discourse.org/t/add-an-offline-page-to-display-when-discourse-is-rebuilding-or-starting-up/45238
**Category:** Sysadmins
**Tags:** configuring, how-to, advanced-setup
**Created:** [04.Июнь.2016 08:41:48 UTC](https://meta.discourse.org/t/add-an-offline-page-to-display-when-discourse-is-rebuilding-or-starting-up/45238 "2016-06-04T08:41:48Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [04.Июнь.2016 09:41:15 UTC](https://meta.discourse.org/t/add-an-offline-page-to-display-when-discourse-is-rebuilding-or-starting-up/45238/2 "2016-06-04T09:41:15Z")

</div>

To make the cert auto renew in Ubuntu 14.04 LTS, I did this:

```
cd /etc/cron.daily
nano letsencrypt-renew

```

and added to the file this renew command, taken from the certbot docs:

```
#!/bin/bash
/var/letsencrypt/certbot-auto renew --quiet --no-self-upgrade

```

I then had to change permissions on the file so it could run:

```
chmod 755 letsencrypt-renew

```

After that I was able to run the bash script manually and it seemed to work! It’s only daily, the docs recommend twice a day, but once a day seems like enough renewal opportunities to me, since the certs expire every 90 days.

---

_[View the full topic](https://meta.discourse.org/t/add-an-offline-page-to-display-when-discourse-is-rebuilding-or-starting-up/45238)._
