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