Skip to content

Commit

Permalink
Allow sidekiq.yml to be configurable
Browse files Browse the repository at this point in the history
As with other config files we may need to change the configuration here
for production environments.
  • Loading branch information
gbp committed Aug 8, 2023
1 parent 037aa0a commit 9d80bb3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/config/memcached.yml
/config/newrelic.yml
/config/rails_env.rb
/config/sidekiq.yml
/config/storage.yml
/config/user_spam_scorer.yml
/config/xapian.yml
Expand Down
1 change: 1 addition & 0 deletions config/general.yml-example
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,7 @@ SHARED_FILES_PATH: ''
SHARED_FILES:
- config/database.yml
- config/general.yml
- config/sidekiq.yml
- config/storage.yml
- config/rails_env.rb
- config/httpd.conf
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions docker/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ success_msg 'done'

notice_msg "Copying example files..."
[ ! -f config/database.yml ] && cp config/database.yml-example config/database.yml
[ ! -f config/sidekiq.yml ] && cp config/sidekiq.yml-example config/sidekiq.yml
[ ! -f config/storage.yml ] && cp config/storage.yml-example config/storage.yml
[ ! -f config/general-alavetelitheme.yml ] && cp config/general.yml-example config/general-alavetelitheme.yml
[ ! -L config/general.yml ] && [ ! -f config/general.yml ] && ln -s config/general-alavetelitheme.yml config/general.yml
Expand Down
3 changes: 3 additions & 0 deletions script/install-as-user
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ do
fi
done

# add sidekiq.yml
cp config/sidekiq.yml-example config/sidekiq.yml

# add storage.yml
cp config/storage.yml-example config/storage.yml

Expand Down

0 comments on commit 9d80bb3

Please sign in to comment.