From c1cfea859352e4e9c40ff55b0ec6dec62ed1f22b Mon Sep 17 00:00:00 2001 From: Nikolay Kopitonenko Date: Wed, 14 Aug 2024 23:55:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20nginx=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3?= =?UTF-8?q?=D0=B8=20mainsail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- goss.yaml | 1 + helper_post | 3 +++ 2 files changed, 4 insertions(+) diff --git a/goss.yaml b/goss.yaml index 263b0c1..ae94a8f 100644 --- a/goss.yaml +++ b/goss.yaml @@ -154,6 +154,7 @@ file: owner: root group: root mode: "0644" + md5: cdd4db70530b344c4a8e31b0a96e39c6 /etc/haproxy/haproxy.cfg: exists: true diff --git a/helper_post b/helper_post index c357cec..e9aab88 100755 --- a/helper_post +++ b/helper_post @@ -40,6 +40,9 @@ apt-get -y install nginx rm -f /etc/nginx/conf.d/default.conf rm -f /etc/nginx/sites-enabled/default +install -m644 -o 0 -g 0 $ConfigsHome/etc/nginx/conf.d/mainsail.conf /etc/nginx/conf.d/mainsail.conf +install -m644 -o 0 -g 0 $ConfigsHome/etc/nginx/sites-enabled/mainsail /etc/nginx/sites-enabled/mainsail + install -m644 -o 0 -g 0 $ConfigsHome/etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg bash -c '