From a275b59627050dd7ffab3c1aacac21623ed6212a Mon Sep 17 00:00:00 2001 From: Jay Pfaffman Date: Thu, 27 Feb 2025 10:24:26 -0600 Subject: [PATCH] Removing unicorn service from phpbb template broke the build (#934) * Removing unicorn service from phpbb template broke the build https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810/786?u=pfaffman * Prevent Sidekiq from running Usually we don't want Sidekiq to run during an import because it might mess things up while there's incomplete or inconsistent data. --------- Co-authored-by: Gerhard Schlager --- templates/import/phpbb3.template.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/import/phpbb3.template.yml b/templates/import/phpbb3.template.yml index 3b70cf4..4744620 100644 --- a/templates/import/phpbb3.template.yml +++ b/templates/import/phpbb3.template.yml @@ -1,5 +1,8 @@ # This template installs MariaDB and all dependencies needed for importing from phpBB3. +env: + UNICORN_SIDEKIQS: 0 + params: home: /var/www/discourse @@ -8,7 +11,6 @@ hooks: - exec: cd: /etc/service cmd: - - rm -R unicorn - rm -R nginx - rm -R cron @@ -16,7 +18,6 @@ hooks: cd: /etc/runit/3.d cmd: - rm 01-nginx - - rm 02-unicorn - file: path: /etc/mysql/conf.d/import.cnf -- 2.25.1