docker-pyload-ng/root/start.sh
nyyu c3e3180191
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful
feat: py 3.12 & cleanup
2024-01-06 22:13:21 +01:00

14 lines
247 B
Bash
Executable file

#!/bin/sh
set -e
PUID=${PUID:-911}
PGID=${PGID:-911}
groupmod -o -g "$PGID" abc 2>/dev/null
usermod -o -u "$PUID" abc 2>/dev/null
for f in /etc/cont-init.d/*; do
sh "$f"
done
exec su-exec abc pyload --userdir /config --storagedir /downloads