docker/nextcloud/entrypoint.sh
2023-09-16 23:47:01 +02:00

13 lines
199 B
Bash
Executable File

#!/bin/bash
if [ -n "$PGID" ]; then
groupmod -g "$PGID" www-data
fi
if [ -n "$PUID" ]; then
usermod -u "$PUID" www-data
fi
busybox crond -l 0 -L /dev/stdout
exec sh -c "/entrypoint.sh $*"