1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/decidim_ynh.git synced 2024-09-03 18:26:00 +02:00
This commit is contained in:
lapineige 2023-06-25 18:01:01 +02:00 committed by GitHub
parent 263d84a94b
commit b02c38d3ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash
if ! [ -s __FINALPATH__/live/tmp/pids/delayed_job.pid ]; then
RAILS_ENV=production __FINALPATH__/live/bin/delayed_job start
if ! [ -s __INSTALL_DIR__/live/tmp/pids/delayed_job.pid ]; then
RAILS_ENV=production __INSTALL_DIR__/live/bin/delayed_job start
fi

View file

@ -2,7 +2,7 @@
location __PATH__/ {
# Path to source
alias __FINALPATH__/live/public/;
alias __INSTALL_DIR__/live/public/;
client_max_body_size 32M;
@ -17,7 +17,7 @@ location __PATH__/ {
location __PATH__/decidim-packs/ {
# Path to source
alias __FINALPATH__/live/public/decidim-packs/;
alias __INSTALL_DIR__/live/public/decidim-packs/;
gzip_static on;
expires max;
more_set_headers "Cache-Control: public";

View file

@ -4,7 +4,7 @@ test:
local:
service: Disk
root: __DATADIR__
root: __DATA_DIR__
# Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
# amazon: