Update entrypoint.sh

This commit is contained in:
Justin Hammond 2022-05-28 21:44:49 +08:00 committed by GitHub
parent 8e29e38bfe
commit df9bbacad7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ mkdir -p ${VOLUME}
getent group ${GROUP} > /dev/null || addgroup ${GROUP} getent group ${GROUP} > /dev/null || addgroup ${GROUP}
getent passwd ${USER} > /dev/null || adduser -D -H -G ${GROUP} ${USER} getent passwd ${USER} > /dev/null || adduser -D -H -G ${GROUP} ${USER}
chown -R ${USER}:${GROUP} ${VOLUME} #chown -R ${USER}:${GROUP} ${VOLUME}
mkdir /etc/rsync/ mkdir /etc/rsync/
cat <<EOF > /etc/rsync/rsyncd.conf cat <<EOF > /etc/rsync/rsyncd.conf