From 1ff99e3abf4c7821a1bc2b42f27113c944223a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20B=C3=A9dard-Couture?= Date: Tue, 22 Oct 2024 17:07:47 -0400 Subject: [PATCH] Make sure config directory is created prior to linking config file --- ct/peanut.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/peanut.sh b/ct/peanut.sh index 378b1a75..f327e0e8 100644 --- a/ct/peanut.sh +++ b/ct/peanut.sh @@ -68,6 +68,7 @@ function update_script() { pnpm i &>/dev/null pnpm run build &>/dev/null cp -r .next/static .next/standalone/.next/ + mkdir -p /opt/peanut/.next/standalone/config ln -sf /etc/peanut/settings.yml /opt/peanut/.next/standalone/config/settings.yml systemctl start peanut echo "${RELEASE}" >/opt/${APP}_version.txt