From 3cca4103f8da3cbb97c8f5a4cf16d190b43922c4 Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 25 Oct 2022 19:03:33 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- rootfs/usr/local/bin/start-soft.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed3f4f0..d94ce04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -91,7 +91,7 @@ ENV LANG=en_US.UTF-8 \ COPY --from=build /. / USER root -WORKDIR /root +WORKDIR /data/soft/repos VOLUME [ "/config","/data" ] diff --git a/rootfs/usr/local/bin/start-soft.sh b/rootfs/usr/local/bin/start-soft.sh index c79ae11..be809b6 100755 --- a/rootfs/usr/local/bin/start-soft.sh +++ b/rootfs/usr/local/bin/start-soft.sh @@ -159,7 +159,7 @@ certbot) echo "$SERVICE_NAME is running" else touch "/tmp/$SERVICE_NAME.pid" - cd "/config/soft" || exit + cd "/data/soft/repos" || exit echo "$start_message" __exec_command "$SERVICE_COMMAND" || rm -Rf "/tmp/$SERVICE_NAME.pid" fi