Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Merge pull request #19039 from peetCreative/dev

Peter Klausing44f60b748529
diff --git a/docker/prod/supervisord.conf.erb b/docker/prod/supervisord.conf.erb
index aee970f9c58..47bb3bba976 100644
--- a/docker/prod/supervisord.conf.erb
+++ b/docker/prod/supervisord.conf.erb
@@ -50,7 +50,7 @@ user=app
environment=HOME="/home/%(ENV_APP_USER)s",USER="%(ENV_APP_USER)s"
directory=%(ENV_APP_PATH)s
command=./docker/prod/cron
-autostart=false
+autostart=<%= (ENV['IMAP_ENABLED'] == "true").to_s %>
autorestart=true
stderr_logfile = /dev/stderr
stdout_logfile = /dev/stdout