Stopped apps should not renew certificates

We had a case where a stopped/ununsed app was generating cert renewal
errors.

One idea might be to suppress the notification as well.
This commit is contained in:
Girish Ramakrishnan
2020-01-26 16:05:23 -08:00
parent cda649884e
commit db330b23cb
3 changed files with 7 additions and 0 deletions

View File

@@ -920,6 +920,10 @@ function start(app, args, progressCallback, callback) {
progressCallback.bind(null, { percent: 20, message: 'Starting container' }),
docker.startContainer.bind(null, app.id),
// stopped apps do not renew certs. currently, we don't do DNS to not overwrite existing user settings
progressCallback.bind(null, { percent: 60, message: 'Configuring reverse proxy' }),
configureReverseProxy.bind(null, app),
progressCallback.bind(null, { percent: 100, message: 'Done' }),
updateApp.bind(null, app, { installationState: apps.ISTATE_INSTALLED, error: null, health: null })
], function seriesDone(error) {