Removing unicorn service from phpbb template broke the build ()

* 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 <gerhard.schlager@discourse.org>
This commit is contained in:
Jay Pfaffman 2025-02-27 10:24:26 -06:00 committed by GitHub
parent 526b43200c
commit a275b59627
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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