fix: allow changing default owner and group

This commit is contained in:
David Stefan 2017-04-30 14:32:34 +01:00
parent cb6e001f32
commit 705130eba6

View file

@ -5,6 +5,8 @@ OWNER=${OWNER:-nobody}
GROUP=${GROUP:-nogroup}
mkdir -p ${VOLUME}
addgroup ${GROUP}
adduser -D -H -G ${GROUP} ${OWNER}
chown ${OWNER}:${GROUP} ${VOLUME}
cat <<EOF > /etc/rsyncd.conf