High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
JavaScript campaigncampaign-managementemail-marketingemail-subscriptionlistmonkmailing-listnewsletternewsletter-managementnewsletter-softwareself-hostedsms-gatewaysmtptransactional-emails
Don't fail on chown in Docker entry script. Closes #2104.
Kailash Nadh136d9d1fa9e6
diff --git a/docker-entrypoint.sh b/docker-entrypoint.shindex a7b61a79..15e0aa61 100644--- a/docker-entrypoint.sh+++ b/docker-entrypoint.sh@@ -34,8 +34,10 @@ create_user() {create_groupcreate_user-# Set the ownership of the app directory to the app user-chown -R ${PUID}:${PGID} /listmonk+# Try to set the ownership of the app directory to the app user.+if ! chown -R ${PUID}:${PGID} /listmonk 2>/dev/null; then+ echo "Warning: Failed to change ownership of /listmonk. Readonly volume?"+fiecho "Launching listmonk with user=[${USER_NAME}] group=[${GROUP_NAME}] PUID=[${PUID}] PGID=[${PGID}]"