dockerfiles/rsyncd/entrypoint.sh

9 lines
128 B
Bash

#!/bin/sh
if [ -n "$SECRETS" ]; then
echo "$SECRETS" > /etc/rsyncd.secrets
chmod 600 /etc/rsyncd.secrets
fi
exec "$@"