From b3c50e2b33001403ad75bb0293cd4a4f4750dc5d Mon Sep 17 00:00:00 2001 From: lens0021 Date: Sun, 13 Oct 2024 13:21:41 +0900 Subject: [PATCH] move secret to secrets --- jobs/fastcgi.nomad | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jobs/fastcgi.nomad b/jobs/fastcgi.nomad index d92509c..56d3aaa 100644 --- a/jobs/fastcgi.nomad +++ b/jobs/fastcgi.nomad @@ -140,7 +140,7 @@ job "fastcgi" { "local/www.conf:/usr/local/etc/php-fpm.d/www.conf", "local/AdoyFastCgiClient.php:/srv/fcgi-check/AdoyFastCgiClient.php", "local/fcgi-probe.php:/srv/fcgi-check/fcgi-probe.php", - "secrets/secrets.php:/a/secret.php", + "secrets/secrets.php:/a/secrets.php", "secrets/analytics-credentials-file.json:/a/analytics-credentials-file.json", # Overwrite the default Hotfix.php provided by femiwiki/mediawiki "local/Hotfix.php:/a/Hotfix.php", @@ -271,6 +271,7 @@ variable "pretrun" { #!/bin/bash set -euo pipefail; IFS=$'\n\t' -test -s /a/secret.php +test -s /a/secrets.php +test -s /a/LocalSettings.php EOF }