22349: Run RailsAPI as a standalone Passenger service
authorBrett Smith <brett.smith@curii.com>
Sat, 30 Nov 2024 19:01:26 +0000 (14:01 -0500)
committerBrett Smith <brett.smith@curii.com>
Mon, 2 Dec 2024 17:31:30 +0000 (12:31 -0500)
commite0672ea6373de84b7b839338f6b9f1144cfbd637
tree0221cba77b209ca81ea6273d6670609486ba82f5
parentad432b686da0d227bebd5ec1052b185d90b606e7
22349: Run RailsAPI as a standalone Passenger service

The primary motivation for this is to be able to run Passenger with the
same version of Ruby that RailsAPI depends on. On RHEL8, the official
Passenger packages depend on the system Ruby 2.5, which is too old for
us to use.

A secondary benefit is that this simplifies installation for everyone by
eliminating the need for a separate Passenger install and nginx
integration.

A tertiary benefit is that the systemd service definition can better
handle some preparation work that we were previously doing in the
postinst script.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
build/rails-package-scripts/postinst.sh
build/rails-package-scripts/prerm.sh
build/run-library.sh
doc/admin/upgrading.html.textile.liquid
doc/install/install-api-server.html.textile.liquid
tools/salt-install/config_examples/multi_host/aws/pillars/logrotate_api.sls
tools/salt-install/config_examples/multi_host/aws/pillars/nginx_api_configuration.sls
tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/logrotate_api.sls
tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/nginx_api_configuration.sls
tools/salt-install/config_examples/single_host/single_hostname/pillars/logrotate_api.sls
tools/salt-install/config_examples/single_host/single_hostname/pillars/nginx_api_configuration.sls