Merge branch '21535-multi-wf-delete'
[arvados.git] / build / rails-package-scripts / arvados-api-server.sh
1 #!/bin/sh
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: AGPL-3.0
5
6 # This file declares variables common to all scripts for one Rails package.
7
8 PACKAGE_NAME=arvados-api-server
9 INSTALL_PATH=/var/www/arvados-api
10 CONFIG_PATH=/etc/arvados/api
11 DOC_URL="http://doc.arvados.org/install/install-api-server.html#configure"
12
13 RAILSPKG_DATABASE_LOAD_TASK=db:schema:load
14 setup_extra_conffiles() {
15   # Rails 5.2 does not tolerate dangling symlinks in the initializers directory, and this one
16   # can still be there, left over from a previous version of the API server package.
17   rm -f $RELEASE_PATH/config/initializers/omniauth.rb
18 }