From 00cae794a0b03d97e5ff9ac35ab89469ebd9f9cb Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Wed, 24 Apr 2019 11:58:15 +0200 Subject: [PATCH] Set ownership to the cron.pid file --- assets/docker-cron-entrypoint.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/docker-cron-entrypoint.sh b/assets/docker-cron-entrypoint.sh index c446e0f..4136d61 100644 --- a/assets/docker-cron-entrypoint.sh +++ b/assets/docker-cron-entrypoint.sh @@ -39,9 +39,10 @@ if [ "$GID" != "1000" ]; then fi # Set the files ownership. -chown $UID.$GID -R /home/seafuser/infinite-seaf-cli-start.sh -chown $UID.$GID -R /home/seafuser/entrypoint.sh -chown $UID.$GID -R /volume +chown $UID.$GID /var/run/crond.pid +chown $UID.$GID /home/seafuser/infinite-seaf-cli-start.sh +chown $UID.$GID /home/seafuser/entrypoint.sh +chown $UID.$GID -R /volume # Run the Seafile client as the container user. su - $UNAME << EO