feat: from s6-overlay change to tini and su-exec

This commit is contained in:
DDSRem
2023-08-28 19:32:26 +08:00
parent d101898812
commit bc89922aed
17 changed files with 24 additions and 60 deletions

15
entrypoint.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# shellcheck shell=bash
umask ${UMASK}
if [ -f /config/bangumi.json ]; then
mv /config/bangumi.json /app/data/bangumi.json
fi
groupmod -o -g "${PGID}" ab
usermod -o -u "${PUID}" ab
chown ab:ab -R /app /home/ab
exec su-exec "${PUID}:${PGID}" python3 main.py