Set ownership to the cron.pid file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user